HomeSort by relevance Sort by last modified time
    Searched refs:ClockMath (Results 1 - 11 of 11) sorted by null

  /external/icu/icu4c/source/i18n/
gregoimp.cpp 25 int32_t ClockMath::floorDivide(int32_t numerator, int32_t denominator) {
30 int64_t ClockMath::floorDivide(int64_t numerator, int64_t denominator) {
35 int32_t ClockMath::floorDivide(double numerator, int32_t denominator,
43 double ClockMath::floorDivide(double dividend, double divisor,
92 double julian = 365 * y + ClockMath::floorDivide(y, 4) + (JULIAN_1_CE - 3) + // Julian cal
93 ClockMath::floorDivide(y, 400) - ClockMath::floorDivide(y, 100) + 2 + // => Gregorian cal
109 int32_t n400 = ClockMath::floorDivide(day, 146097, doy); // 400-year cycle length
110 int32_t n100 = ClockMath::floorDivide(doy, 36524, doy); // 100-year cycle length
111 int32_t n4 = ClockMath::floorDivide(doy, 1461, doy); // 4-year cycle lengt
    [all...]
persncal.cpp 113 ClockMath::floorDivide(25 * year + 11, 33, remainder);
150 extendedYear += ClockMath::floorDivide(month, 12, month);
172 eyear += ClockMath::floorDivide(month, 12, month);
175 int32_t julianDay = PERSIAN_EPOCH - 1 + 365 * (eyear - 1) + ClockMath::floorDivide(8 * eyear + 21, 33);
216 year = 1 + (int32_t)ClockMath::floorDivide(33 * (int64_t)daysSinceEpoch + 3, (int64_t)12053);
218 int32_t farvardin1 = 365 * (year - 1) + ClockMath::floorDivide(8 * year + 21, 33);
gregoimp.h 30 class ClockMath {
267 inline double ClockMath::floorDivide(double numerator, double denominator) {
298 return (int32_t) (kEpochStartAsJulianDay + ClockMath::floorDivide(millis, (double)kOneDay));
303 int32_t gregShift = ClockMath::floorDivide(y, 400) - ClockMath::floorDivide(y, 100) + 2;
cecal.cpp 126 + ClockMath::floorDivide(year, 4) // extra day of leap year
138 c4 = ClockMath::floorDivide(julianDay - jdEpochOffset, 1461, r4);
gregocal.cpp 335 int32_t cutoverDay = (int32_t)ClockMath::floorDivide(fGregorianCutover, (double)kOneDay);
391 eyear = (int32_t) ClockMath::floorDivide((4.0*julianEpochDay) + 1464.0, (int32_t) 1461, unusedRemainder);
394 int32_t january1 = 365*(eyear-1) + ClockMath::floorDivide(eyear-1, (int32_t)4);
540 eyear += ClockMath::floorDivide(month, 12, month);
545 int32_t julianDay = 365*y + ClockMath::floorDivide(y, 4) + (kJan1_1JulianDay - 3);
583 extendedYear += ClockMath::floorDivide(month, 12, month);
702 return ClockMath::floorDivide(wallSec, kOneDay/1000.0);
721 double julianDay = 365.0*y + ClockMath::floorDivide(y, 4) + (kJan1_1JulianDay - 3);
790 return (double)kEpochStartAsJulianDay + ClockMath::floorDivide(millis, (double)kOneDay);
    [all...]
indiancal.cpp 114 eyear += ClockMath::floorDivide(month, 12, month);
248 eyear += (int32_t)ClockMath::floorDivide(month, 12, month);
islamcal.cpp 374 return (year-1)*354 + ClockMath::floorDivide((3+11*year),30);
397 + (year-1)*354 + (int32_t)ClockMath::floorDivide((3+11*year),30);
453 start = (int32_t)ClockMath::floorDivide((origin - HIJRA_MILLIS), (double)kOneDay) + 1;
617 year = (int)ClockMath::floorDivide( (double)(30 * days + 10646) , 10631.0 );
650 year = (int)ClockMath::floorDivide( (double)(30 * days + 10646) , 10631.0 );
    [all...]
chnsecal.cpp 331 eyear += (int32_t)ClockMath::floorDivide(m, 12.0, m);
507 return ClockMath::floorDivide(millis + (double)(rawOffset + dstOffset), kOneDay);
510 return ClockMath::floorDivide(millis + (double)CHINA_OFFSET, kOneDay);
730 int32_t cycle = ClockMath::floorDivide(cycle_year - 1, 60, yearOfCycle);
astro.cpp 215 return value - range * ClockMath::floorDivide(value, range);
425 double base = (DAY_MS * ClockMath::floorDivide(fTime + fGmtOffset,(double)DAY_MS)) - fGmtOffset;
756 double noon = ClockMath::floorDivide(fTime + fGmtOffset, (double)DAY_MS)*DAY_MS - fGmtOffset + (12*HOUR_MS);
    [all...]
olsontz.cpp 442 double days = ClockMath::floorDivide(((double)ms), (double)U_MILLIS_PER_DAY, millis);
    [all...]
calendar.cpp     [all...]

Completed in 160 milliseconds