Searched refs:jan1weekday (Results 1 – 1 of 1) sorted by relevance
90 int y_leap, prev_y_leap, doy, jan1weekday, weekday; in timelib_isoweek_from_date() local98 jan1weekday = timelib_day_of_week(y, 1, 1); in timelib_isoweek_from_date()101 if (jan1weekday == 0) jan1weekday = 7; in timelib_isoweek_from_date()103 if (doy <= (8 - jan1weekday) && jan1weekday > 4) { in timelib_isoweek_from_date()105 if (jan1weekday == 5 || (jan1weekday == 6 && prev_y_leap)) { in timelib_isoweek_from_date()128 j = doy + (7 - weekday) + (jan1weekday - 1); in timelib_isoweek_from_date()130 if (jan1weekday > 4) { in timelib_isoweek_from_date()
Completed in 5 milliseconds