Lines Matching refs:doy
97 int32_t& dom, int32_t& dow, int32_t& doy) { in dayToFields() argument
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()
112 doy = 365; // Dec 31 at end of 4- or 400-year cycle in dayToFields()
126 if (doy >= march1) { in dayToFields()
129 month = (12 * (doy + correction) + 6) / 367; // zero-based month in dayToFields()
130 dom = doy - DAYS_BEFORE[month + (isLeap ? 12 : 0)] + 1; // one-based DOM in dayToFields()
131 doy++; // one-based doy in dayToFields()
135 int32_t& dom, int32_t& dow, int32_t& doy, int32_t& mid) { in timeToFields() argument
139 dayToFields(day, year, month, dom, dow, doy); in timeToFields()