Lines Matching refs:month
85 double Grego::fieldsToDay(int32_t year, int32_t month, int32_t dom) {
91 DAYS_BEFORE[month + (isLeapYear(year) ? 12 : 0)] + dom; // => month/dom
96 void Grego::dayToFields(double day, int32_t& year, int32_t& month,
129 month = (12 * (doy + correction) + 6) / 367; // zero-based month
130 dom = doy - DAYS_BEFORE[month + (isLeap ? 12 : 0)] + 1; // one-based DOM
134 void Grego::timeToFields(UDate time, int32_t& year, int32_t& month,
139 dayToFields(day, year, month, dom, dow, doy);
148 int32_t Grego::dayOfWeekInMonth(int32_t year, int32_t month, int32_t dom) {
151 if (dom + 7 > monthLength(year, month)) {