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