Lines Matching refs:day
93 return julian - JULIAN_1970_CE; // JD => epoch day
96 void Grego::dayToFields(double day, int32_t& year, int32_t& month,
100 day += JULIAN_1970_CE - JULIAN_1_CE;
102 // Convert from the day number to the multiple radix
104 // For example, the 4-year cycle has 4 years + 1 leap day; giving
106 int32_t n400 = ClockMath::floorDivide(day, 146097, doy); // 400-year cycle length
119 // Gregorian day zero is a Monday.
120 dow = (int32_t) uprv_fmod(day + 1, 7);
137 double day = ClockMath::floorDivide((double)time, (double)U_MILLIS_PER_DAY, millisInDay);
139 dayToFields(day, year, month, dom, dow, doy);
142 int32_t Grego::dayOfWeek(double day) {
144 ClockMath::floorDivide(day + UCAL_THURSDAY, 7, dow);