Searched refs:kOneDay (Results 1 – 6 of 6) sorted by relevance
/external/icu/icu4c/source/i18n/ |
D | gregoimp.h | 87 #define kOneDay (1.0 * U_MILLIS_PER_DAY) // 86,400,000 macro 92 #define kOneWeek (7.0 * kOneDay) // 604,800,000 116 #define MIN_MILLIS ((MIN_JULIAN - kEpochStartAsJulianDay) * kOneDay) 128 #define MAX_MILLIS ((MAX_JULIAN - kEpochStartAsJulianDay) * kOneDay) 283 return (julian - kEpochStartAsJulianDay) * kOneDay; in julianDayToMillis() 287 return (int32_t) (kEpochStartAsJulianDay + ClockMath::floorDivide(millis, (double)kOneDay)); in millisToJulianDay()
|
D | dangical.cpp | 108 …const UDate millis1897[] = { (UDate)((1897 - 1970) * 365 * kOneDay) }; // some days of error is no… in initDangiCalZoneAstroCalc() 109 …const UDate millis1898[] = { (UDate)((1898 - 1970) * 365 * kOneDay) }; // some days of error is no… in initDangiCalZoneAstroCalc() 110 …const UDate millis1912[] = { (UDate)((1912 - 1970) * 365 * kOneDay) }; // this doesn't create an i… in initDangiCalZoneAstroCalc()
|
D | gregocal.cpp | 335 int32_t cutoverDay = (int32_t)ClockMath::floorDivide(fGregorianCutover, (double)kOneDay); in setGregorianChange() 336 fNormalizedGregorianCutover = cutoverDay * kOneDay; in setGregorianChange() 346 fNormalizedGregorianCutover = (cutoverDay + 1) * kOneDay; in setGregorianChange() 702 return ClockMath::floorDivide(wallSec, kOneDay/1000.0); in getEpochDay() 790 return (double)kEpochStartAsJulianDay + ClockMath::floorDivide(millis, (double)kOneDay); in millisToJulianDay() 798 return (UDate) ((julian - kEpochStartAsJulianDay) * (double) kOneDay); in julianDayToMillis() 848 cMonthStart = t - ((cDayOfMonth - 1) * kOneDay); in roll() 851 (cMonthStart + (cMonthLen=(max-10))*kOneDay >= fGregorianCutover)) { in roll() 915 double monthLen = cMonthLen * kOneDay; in roll() 917 amount * kOneDay, monthLen); in roll() [all …]
|
D | islamcal.cpp | 425 + uprv_floor(month * CalendarAstronomer::SYNODIC_MONTH) * kOneDay; in trueMonthStart() 436 origin -= kOneDay; in trueMonthStart() 446 origin += kOneDay; in trueMonthStart() 453 start = (int32_t)ClockMath::floorDivide((origin - HIJRA_MILLIS), (double)kOneDay) + 1; in trueMonthStart()
|
D | chnsecal.cpp | 484 double millis = days * (double)kOneDay; in daysToMillis() 507 return ClockMath::floorDivide(millis + (double)(rawOffset + dstOffset), kOneDay); in millisToDays() 510 return ClockMath::floorDivide(millis + (double)CHINA_OFFSET, kOneDay); in millisToDays()
|
D | calendar.cpp | 1513 int32_t days = (int32_t)ClockMath::floorDivide(localMillis, (double)kOneDay); in computeFields() 1537 int32_t millisInDay = (int32_t) (localMillis - (days * kOneDay)); in computeFields() 2002 double delta = amount * kOneDay; // Scale up from days to millis in roll() 2004 min2 *= kOneDay; in roll() 2012 oneYear *= kOneDay; in roll() 2024 double delta = amount * kOneDay; // Scale up from days to millis in roll() 2030 double min2 = internalGetTime() - leadDays * kOneDay; in roll() 2162 delta *= kOneDay; in add() 2224 … adjAmount = adjAmount >= 0 ? adjAmount % (int32_t)kOneDay : -(-adjAmount % (int32_t)kOneDay); in add()
|