Lines Matching refs:doy
100 int32_t& dom, int32_t& dow, int32_t& doy) { in dayToFields() argument
109 int32_t n400 = ClockMath::floorDivide(day, 146097, doy); // 400-year cycle length in dayToFields()
110 int32_t n100 = ClockMath::floorDivide(doy, 36524, doy); // 100-year cycle length in dayToFields()
111 int32_t n4 = ClockMath::floorDivide(doy, 1461, doy); // 4-year cycle length in dayToFields()
112 int32_t n1 = ClockMath::floorDivide(doy, 365, doy); in dayToFields()
115 doy = 365; // Dec 31 at end of 4- or 400-year cycle in dayToFields()
129 if (doy >= march1) { in dayToFields()
132 month = (12 * (doy + correction) + 6) / 367; // zero-based month in dayToFields()
133 dom = doy - DAYS_BEFORE[month + (isLeap ? 12 : 0)] + 1; // one-based DOM in dayToFields()
134 doy++; // one-based doy in dayToFields()
138 int32_t& dom, int32_t& dow, int32_t& doy, int32_t& mid) { in timeToFields() argument
142 dayToFields(day, year, month, dom, dow, doy); in timeToFields()