Lines Matching refs:ClockMath
27 int32_t ClockMath::floorDivide(int32_t numerator, int32_t denominator) {
32 int32_t ClockMath::floorDivide(double numerator, int32_t denominator,
40 double ClockMath::floorDivide(double dividend, double divisor,
89 double julian = 365 * y + ClockMath::floorDivide(y, 4) + (JULIAN_1_CE - 3) + // Julian cal
90 ClockMath::floorDivide(y, 400) - ClockMath::floorDivide(y, 100) + 2 + // => Gregorian cal
106 int32_t n400 = ClockMath::floorDivide(day, 146097, doy); // 400-year cycle length
107 int32_t n100 = ClockMath::floorDivide(doy, 36524, doy); // 100-year cycle length
108 int32_t n4 = ClockMath::floorDivide(doy, 1461, doy); // 4-year cycle length
109 int32_t n1 = ClockMath::floorDivide(doy, 365, doy);
137 double day = ClockMath::floorDivide((double)time, (double)U_MILLIS_PER_DAY, millisInDay);
144 ClockMath::floorDivide(day + UCAL_THURSDAY, 7, dow);