Searched refs:timelib_is_leap (Results 1 – 5 of 5) sorted by relevance
52 m1 = timelib_is_leap(y) ? m_table_leap[m] : m_table_common[m]; in timelib_day_of_week_ex()80 return (timelib_is_leap(y) ? d_table_leap[m] : d_table_common[m]) + d - 1; in timelib_day_of_year()85 return timelib_is_leap(y) ? ml_table_leap[m] : ml_table_common[m]; in timelib_days_in_month()92 y_leap = timelib_is_leap(y); in timelib_isoweek_from_date()93 prev_y_leap = timelib_is_leap(y-1); in timelib_isoweek_from_date()
66 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()
78 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()327 if (timelib_is_leap(i)) { in do_years()335 if (timelib_is_leap(i)) { in do_years()347 if (timelib_is_leap(year)) { in do_months()
235 #define timelib_is_leap(y) ((y) % 4 == 0 && ((y) % 100 != 0 || (y) % 400 == 0)) macro
1124 case 'L': length = slprintf(buffer, 32, "%d", timelib_is_leap((int) t->y)); break; in date_format()1323 case 'L': retval = (int) timelib_is_leap((int) t->y); break; in php_idate()
Completed in 26 milliseconds