Home
last modified time | relevance | path

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

/PHP-5.4/ext/date/lib/
H A Ddow.c40 m1 = timelib_is_leap(y) ? m_table_leap[m] : m_table_common[m]; in timelib_day_of_week_ex()
68 return (timelib_is_leap(y) ? d_table_leap[m] : d_table_common[m]) + d - 1; in timelib_day_of_year()
73 return timelib_is_leap(y) ? ml_table_leap[m] : ml_table_common[m]; in timelib_days_in_month()
80 y_leap = timelib_is_leap(y); in timelib_isoweek_from_date()
81 prev_y_leap = timelib_is_leap(y-1); in timelib_isoweek_from_date()
H A Dtm2unixtime.c78 leapyear = timelib_is_leap(year); in do_range_limit_days_relative()
88 leapyear = timelib_is_leap(year); in do_range_limit_days_relative()
118 leapyear = timelib_is_leap(*y); in do_range_limit_days()
128 leapyear = timelib_is_leap(last_year); in do_range_limit_days()
319 if (timelib_is_leap(i)) { in do_years()
327 if (timelib_is_leap(i)) { in do_years()
339 if (timelib_is_leap(year)) { in do_months()
H A Dunixtime2tm.c66 if (timelib_is_leap(cur_year)) { in timelib_unixtime2gmt()
92 if (timelib_is_leap(cur_year)) { in timelib_unixtime2gmt()
103 months = timelib_is_leap(cur_year) ? month_tab_leap : month_tab; in timelib_unixtime2gmt()
104 if (timelib_is_leap(cur_year) && cur_year < 1970) { in timelib_unixtime2gmt()
H A Dtimelib_structs.h225 #define timelib_is_leap(y) ((y) % 4 == 0 && ((y) % 100 != 0 || (y) % 400 == 0)) macro
/PHP-5.4/ext/date/
H A Dphp_date.c1074 case 'L': length = slprintf(buffer, 32, "%d", timelib_is_leap((int) t->y)); break; in date_format()
1273 case 'L': retval = (int) timelib_is_leap((int) t->y); break; in php_idate()

Completed in 21 milliseconds