Home
last modified time | relevance | path

Searched refs:kOneDay (Results 1 – 4 of 4) sorted by relevance

/external/icu4c/i18n/
Dgregoimp.h84 #define kOneDay (1.0 * U_MILLIS_PER_DAY) // 86,400,000 macro
89 #define kOneWeek (7.0 * kOneDay) // 604,800,000
113 #define MIN_MILLIS ((MIN_JULIAN - kEpochStartAsJulianDay) * kOneDay)
125 #define MAX_MILLIS ((MAX_JULIAN - kEpochStartAsJulianDay) * kOneDay)
280 return (julian - kEpochStartAsJulianDay) * kOneDay; in julianDayToMillis()
284 return (int32_t) (kEpochStartAsJulianDay + Math::floorDivide(millis, (double)kOneDay)); in millisToJulianDay()
Dgregocal.cpp332 int32_t cutoverDay = (int32_t)Math::floorDivide(fGregorianCutover, (double)kOneDay); in setGregorianChange()
333 fNormalizedGregorianCutover = cutoverDay * kOneDay; in setGregorianChange()
343 fNormalizedGregorianCutover = (cutoverDay + 1) * kOneDay; in setGregorianChange()
699 return Math::floorDivide(wallSec, kOneDay/1000.0); in getEpochDay()
787 return (double)kEpochStartAsJulianDay + Math::floorDivide(millis, (double)kOneDay); in millisToJulianDay()
795 return (UDate) ((julian - kEpochStartAsJulianDay) * (double) kOneDay); in julianDayToMillis()
845 cMonthStart = t - ((cDayOfMonth - 1) * kOneDay); in roll()
848 (cMonthStart + (cMonthLen=(max-10))*kOneDay >= fGregorianCutover)) { in roll()
911 double monthLen = cMonthLen * kOneDay; in roll()
913 amount * kOneDay, monthLen); in roll()
[all …]
Dislamcal.cpp231 + uprv_floor(month * CalendarAstronomer::SYNODIC_MONTH - 1) * kOneDay; in trueMonthStart()
238 origin -= kOneDay; in trueMonthStart()
245 origin += kOneDay; in trueMonthStart()
249 start = (int32_t)Math::floorDivide((origin - HIJRA_MILLIS), (double)kOneDay) + 1; in trueMonthStart()
Dcalendar.cpp1127 int32_t days = (int32_t)Math::floorDivide(localMillis, (double)kOneDay); in computeFields()
1151 int32_t millisInDay = (int32_t) (localMillis - (days * kOneDay)); in computeFields()
1581 double delta = amount * kOneDay; // Scale up from days to millis in roll()
1583 min2 *= kOneDay; in roll()
1591 oneYear *= kOneDay; in roll()
1603 double delta = amount * kOneDay; // Scale up from days to millis in roll()
1609 double min2 = internalGetTime() - leadDays * kOneDay; in roll()
1714 delta *= kOneDay; in add()