Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dgregoimp.h85 #define kOneDay (1.0 * U_MILLIS_PER_DAY) // 86,400,000 macro
90 #define kOneWeek (7.0 * kOneDay) // 604,800,000
114 #define MIN_MILLIS ((MIN_JULIAN - kEpochStartAsJulianDay) * kOneDay)
126 #define MAX_MILLIS ((MAX_JULIAN - kEpochStartAsJulianDay) * kOneDay)
281 return (julian - kEpochStartAsJulianDay) * kOneDay; in julianDayToMillis()
285 return (int32_t) (kEpochStartAsJulianDay + ClockMath::floorDivide(millis, (double)kOneDay)); in millisToJulianDay()
Ddangical.cpp106 …const UDate millis1897[] = { (UDate)((1897 - 1970) * 365 * kOneDay) }; // some days of error is no… in initDangiCalZoneAstroCalc()
107 …const UDate millis1898[] = { (UDate)((1898 - 1970) * 365 * kOneDay) }; // some days of error is no… in initDangiCalZoneAstroCalc()
108 …const UDate millis1912[] = { (UDate)((1912 - 1970) * 365 * kOneDay) }; // this doesn't create an i… in initDangiCalZoneAstroCalc()
Dgregocal.cpp333 int32_t cutoverDay = (int32_t)ClockMath::floorDivide(fGregorianCutover, (double)kOneDay); in setGregorianChange()
334 fNormalizedGregorianCutover = cutoverDay * kOneDay; in setGregorianChange()
344 fNormalizedGregorianCutover = (cutoverDay + 1) * kOneDay; in setGregorianChange()
700 return ClockMath::floorDivide(wallSec, kOneDay/1000.0); in getEpochDay()
788 return (double)kEpochStartAsJulianDay + ClockMath::floorDivide(millis, (double)kOneDay); in millisToJulianDay()
796 return (UDate) ((julian - kEpochStartAsJulianDay) * (double) kOneDay); in julianDayToMillis()
846 cMonthStart = t - ((cDayOfMonth - 1) * kOneDay); in roll()
849 (cMonthStart + (cMonthLen=(max-10))*kOneDay >= fGregorianCutover)) { in roll()
912 double monthLen = cMonthLen * kOneDay; in roll()
914 amount * kOneDay, monthLen); in roll()
[all …]
Dislamcal.cpp423 + uprv_floor(month * CalendarAstronomer::SYNODIC_MONTH) * kOneDay; in trueMonthStart()
434 origin -= kOneDay; in trueMonthStart()
444 origin += kOneDay; in trueMonthStart()
451 start = (int32_t)ClockMath::floorDivide((origin - HIJRA_MILLIS), (double)kOneDay) + 1; in trueMonthStart()
Dchnsecal.cpp482 double millis = days * (double)kOneDay; in daysToMillis()
505 return ClockMath::floorDivide(millis + (double)(rawOffset + dstOffset), kOneDay); in millisToDays()
508 return ClockMath::floorDivide(millis + (double)CHINA_OFFSET, kOneDay); in millisToDays()
Dcalendar.cpp1515 int32_t days = (int32_t)ClockMath::floorDivide(localMillis, (double)kOneDay); in computeFields()
1539 int32_t millisInDay = (int32_t) (localMillis - (days * kOneDay)); in computeFields()
2004 double delta = amount * kOneDay; // Scale up from days to millis in roll()
2006 min2 *= kOneDay; in roll()
2014 oneYear *= kOneDay; in roll()
2026 double delta = amount * kOneDay; // Scale up from days to millis in roll()
2032 double min2 = internalGetTime() - leadDays * kOneDay; in roll()
2163 delta *= kOneDay; in add()
2225 … adjAmount = adjAmount >= 0 ? adjAmount % (int32_t)kOneDay : -(-adjAmount % (int32_t)kOneDay); in add()