Home
last modified time | relevance | path

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

/PHP-5.6/ext/date/lib/
H A Dtm2unixtime.c150 timelib_sll current_dow, difference; in do_adjust_for_weekday() local
152 current_dow = timelib_day_of_week(time->y, time->m, time->d); in do_adjust_for_weekday()
156 if (current_dow == 0 && time->relative.weekday != 0) { in do_adjust_for_weekday()
162 if (time->relative.weekday == 0 && current_dow != 0) { in do_adjust_for_weekday()
166 time->d -= current_dow; in do_adjust_for_weekday()
170 difference = time->relative.weekday - current_dow; in do_adjust_for_weekday()
177 time->d -= (7 - (abs(time->relative.weekday) - current_dow)); in do_adjust_for_weekday()

Completed in 8 milliseconds