Home
last modified time | relevance | path

Searched refs:daysSinceEpoch (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DPersianCalendar.java420 long daysSinceEpoch = julianDay - PERSIAN_EPOCH; in handleComputeFields() local
421 year = 1 + (int) floorDivide(33 * daysSinceEpoch + 3, 12053); in handleComputeFields()
424 dayOfYear = (int)(daysSinceEpoch - farvardin1); // 0-based in handleComputeFields()
/external/icu/icu4c/source/i18n/
Dpersncal.cpp213 int32_t daysSinceEpoch = julianDay - PERSIAN_EPOCH; in handleComputeFields() local
214 year = 1 + ClockMath::floorDivide(33 * daysSinceEpoch + 3, 12053); in handleComputeFields()
217 dayOfYear = (daysSinceEpoch - farvardin1); // 0-based in handleComputeFields()