Searched refs:kOneDay (Results 1 - 10 of 10) sorted by relevance

/external/chromium/third_party/icu/source/i18n/
H A 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;
285 return (int32_t) (kEpochStartAsJulianDay + ClockMath::floorDivide(millis, (double)kOneDay));
H A Dislamcal.cpp235 + uprv_floor(month * CalendarAstronomer::SYNODIC_MONTH - 1) * kOneDay;
246 origin -= kOneDay;
256 origin += kOneDay;
263 start = (int32_t)ClockMath::floorDivide((origin - HIJRA_MILLIS), (double)kOneDay) + 1;
H A Dgregocal.cpp27 * 09/14/98 stephen Changed type of kOneDay, kOneWeek to double.
333 int32_t cutoverDay = (int32_t)ClockMath::floorDivide(fGregorianCutover, (double)kOneDay);
334 fNormalizedGregorianCutover = cutoverDay * kOneDay;
344 fNormalizedGregorianCutover = (cutoverDay + 1) * kOneDay;
700 return ClockMath::floorDivide(wallSec, kOneDay/1000.0);
788 return (double)kEpochStartAsJulianDay + ClockMath::floorDivide(millis, (double)kOneDay);
796 return (UDate) ((julian - kEpochStartAsJulianDay) * (double) kOneDay);
846 cMonthStart = t - ((cDayOfMonth - 1) * kOneDay);
849 (cMonthStart + (cMonthLen=(max-10))*kOneDay >= fGregorianCutover)) {
912 double monthLen = cMonthLen * kOneDay;
[all...]
H A Dcalendar.cpp1234 int32_t days = (int32_t)ClockMath::floorDivide(localMillis, (double)kOneDay);
1258 int32_t millisInDay = (int32_t) (localMillis - (days * kOneDay));
1684 double delta = amount * kOneDay; // Scale up from days to millis
1686 min2 *= kOneDay;
1689 // double min2 = internalGetTime() - (internalGet(UCAL_DAY_OF_YEAR) - 1.0) * kOneDay;
1694 oneYear *= kOneDay;
1706 double delta = amount * kOneDay; // Scale up from days to millis
1712 double min2 = internalGetTime() - leadDays * kOneDay;
1817 delta *= kOneDay;
2424 // int32_t julianInsanityCheck = (int32_t)ClockMath::floorDivide(millis, kOneDay);
[all...]
H A Dchnsecal.cpp440 return (days * kOneDay) - CHINA_OFFSET;
449 return ClockMath::floorDivide(millis + CHINA_OFFSET, kOneDay);
/external/icu4c/i18n/
H A 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;
285 return (int32_t) (kEpochStartAsJulianDay + ClockMath::floorDivide(millis, (double)kOneDay));
H A Dislamcal.cpp235 + uprv_floor(month * CalendarAstronomer::SYNODIC_MONTH) * kOneDay;
246 origin -= kOneDay;
256 origin += kOneDay;
263 start = (int32_t)ClockMath::floorDivide((origin - HIJRA_MILLIS), (double)kOneDay) + 1;
H A Dgregocal.cpp27 * 09/14/98 stephen Changed type of kOneDay, kOneWeek to double.
333 int32_t cutoverDay = (int32_t)ClockMath::floorDivide(fGregorianCutover, (double)kOneDay);
334 fNormalizedGregorianCutover = cutoverDay * kOneDay;
344 fNormalizedGregorianCutover = (cutoverDay + 1) * kOneDay;
700 return ClockMath::floorDivide(wallSec, kOneDay/1000.0);
788 return (double)kEpochStartAsJulianDay + ClockMath::floorDivide(millis, (double)kOneDay);
796 return (UDate) ((julian - kEpochStartAsJulianDay) * (double) kOneDay);
846 cMonthStart = t - ((cDayOfMonth - 1) * kOneDay);
849 (cMonthStart + (cMonthLen=(max-10))*kOneDay >= fGregorianCutover)) {
912 double monthLen = cMonthLen * kOneDay;
[all...]
H A Dcalendar.cpp1252 int32_t days = (int32_t)ClockMath::floorDivide(localMillis, (double)kOneDay);
1276 int32_t millisInDay = (int32_t) (localMillis - (days * kOneDay));
1702 double delta = amount * kOneDay; // Scale up from days to millis
1704 min2 *= kOneDay;
1707 // double min2 = internalGetTime() - (internalGet(UCAL_DAY_OF_YEAR) - 1.0) * kOneDay;
1712 oneYear *= kOneDay;
1724 double delta = amount * kOneDay; // Scale up from days to millis
1730 double min2 = internalGetTime() - leadDays * kOneDay;
1835 delta *= kOneDay;
2541 // int32_t julianInsanityCheck = (int32_t)ClockMath::floorDivide(millis, kOneDay);
[all...]
H A Dchnsecal.cpp440 return (days * kOneDay) - CHINA_OFFSET;
449 return ClockMath::floorDivide(millis + CHINA_OFFSET, kOneDay);

Completed in 186 milliseconds