Home
last modified time | relevance | path

Searched refs:jan1weekday (Results 1 – 1 of 1) sorted by relevance

/PHP-5.4/ext/date/lib/
H A Ddow.c78 int y_leap, prev_y_leap, doy, jan1weekday, weekday; in timelib_isoweek_from_date() local
86 jan1weekday = timelib_day_of_week(y, 1, 1); in timelib_isoweek_from_date()
89 if (jan1weekday == 0) jan1weekday = 7; in timelib_isoweek_from_date()
91 if (doy <= (8 - jan1weekday) && jan1weekday > 4) { in timelib_isoweek_from_date()
93 if (jan1weekday == 5 || (jan1weekday == 6 && prev_y_leap)) { in timelib_isoweek_from_date()
116 j = doy + (7 - weekday) + (jan1weekday - 1); in timelib_isoweek_from_date()
118 if (jan1weekday > 4) { in timelib_isoweek_from_date()

Completed in 5 milliseconds