Searched refs:jan1weekday (Results 1 – 1 of 1) sorted by relevance
94 int y_leap, prev_y_leap, doy, jan1weekday, weekday; in timelib_isoweek_from_date() local102 jan1weekday = timelib_day_of_week(y, 1, 1); in timelib_isoweek_from_date()105 if (jan1weekday == 0) jan1weekday = 7; in timelib_isoweek_from_date()107 if (doy <= (8 - jan1weekday) && jan1weekday > 4) { in timelib_isoweek_from_date()109 if (jan1weekday == 5 || (jan1weekday == 6 && prev_y_leap)) { in timelib_isoweek_from_date()132 j = doy + (7 - weekday) + (jan1weekday - 1); in timelib_isoweek_from_date()134 if (jan1weekday > 4) { in timelib_isoweek_from_date()
Completed in 3 milliseconds