Home
last modified time | relevance | path

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

/PHP-5.3/ext/date/lib/
H A Ddow.c84 int y_leap, prev_y_leap, doy, jan1weekday, weekday; in timelib_isoweek_from_date() local
92 jan1weekday = timelib_day_of_week(y, 1, 1); in timelib_isoweek_from_date()
95 if (jan1weekday == 0) jan1weekday = 7; in timelib_isoweek_from_date()
97 if (doy <= (8 - jan1weekday) && jan1weekday > 4) { in timelib_isoweek_from_date()
99 if (jan1weekday == 5 || (jan1weekday == 6 && prev_y_leap)) { in timelib_isoweek_from_date()
122 j = doy + (7 - weekday) + (jan1weekday - 1); in timelib_isoweek_from_date()
124 if (jan1weekday > 4) { in timelib_isoweek_from_date()

Completed in 5 milliseconds