D | gregoimp.cpp | 27 int32_t ClockMath::floorDivide(int32_t numerator, int32_t denominator) { in floorDivide() function in ClockMath 32 int32_t ClockMath::floorDivide(double numerator, int32_t denominator, in floorDivide() function in ClockMath 40 double ClockMath::floorDivide(double dividend, double divisor, in floorDivide() function in ClockMath 44 double quotient = floorDivide(dividend, divisor); in floorDivide() 89 double julian = 365 * y + ClockMath::floorDivide(y, 4) + (JULIAN_1_CE - 3) + // Julian cal in fieldsToDay() 90 ClockMath::floorDivide(y, 400) - ClockMath::floorDivide(y, 100) + 2 + // => Gregorian cal in fieldsToDay() 106 int32_t n400 = ClockMath::floorDivide(day, 146097, doy); // 400-year cycle length in dayToFields() 107 int32_t n100 = ClockMath::floorDivide(doy, 36524, doy); // 100-year cycle length in dayToFields() 108 int32_t n4 = ClockMath::floorDivide(doy, 1461, doy); // 4-year cycle length in dayToFields() 109 int32_t n1 = ClockMath::floorDivide(doy, 365, doy); in dayToFields() [all …]
|