Searched refs:timelib_is_leap (Results 1 – 5 of 5) sorted by relevance
57 m1 = timelib_is_leap(y) ? m_table_leap[m] : m_table_common[m]; in timelib_day_of_week_ex()85 return (timelib_is_leap(y) ? d_table_leap[m] : d_table_common[m]) + d - 1; in timelib_day_of_year()90 return timelib_is_leap(y) ? ml_table_leap[m] : ml_table_common[m]; in timelib_days_in_month()97 y_leap = timelib_is_leap(y); in timelib_isoweek_from_date()98 prev_y_leap = timelib_is_leap(y-1); in timelib_isoweek_from_date()168 is_leap_year = timelib_is_leap(*y); in timelib_date_from_isodate()173 daynr += (is_leap_year = timelib_is_leap(*y)) ? 366 : 365; in timelib_date_from_isodate()180 is_leap_year = timelib_is_leap(*y); in timelib_date_from_isodate()
105 #define timelib_is_leap(y) ((y) % 4 == 0 && ((y) % 100 != 0 || (y) % 400 == 0)) macro
87 leapyear = timelib_is_leap(year); in do_range_limit_days_relative()97 leapyear = timelib_is_leap(year); in do_range_limit_days_relative()128 leapyear = timelib_is_leap(*y); in do_range_limit_days()139 leapyear = timelib_is_leap(previous_year); in do_range_limit_days()
417 int leap_year = timelib_is_leap(year); in calc_transition()
727 case 'L': length = slprintf(buffer, sizeof(buffer), "%d", timelib_is_leap((int) t->y)); break; in date_format()936 case 'L': retval = (int) timelib_is_leap((int) t->y); break; in php_idate()
Completed in 29 milliseconds