Searched refs:jan1weekday (Results 1 – 1 of 1) sorted by relevance
95 int y_leap, prev_y_leap, doy, jan1weekday, weekday; in timelib_isoweek_from_date() local103 jan1weekday = timelib_day_of_week(y, 1, 1); in timelib_isoweek_from_date()106 if (jan1weekday == 0) jan1weekday = 7; in timelib_isoweek_from_date()108 if (doy <= (8 - jan1weekday) && jan1weekday > 4) { in timelib_isoweek_from_date()110 if (jan1weekday == 5 || (jan1weekday == 6 && prev_y_leap)) { in timelib_isoweek_from_date()133 j = doy + (7 - weekday) + (jan1weekday - 1); in timelib_isoweek_from_date()135 if (jan1weekday > 4) { in timelib_isoweek_from_date()
Completed in 5 milliseconds