Searched refs:GREGORIAN_LEAP (Results 1 – 1 of 1) sorted by relevance
171 #define GREGORIAN_LEAP(y) ((((y) % 4) == 0) && (!((((y) % 100) == 0) && (((y) % 400) != 0)))) macro611 if (GREGORIAN_LEAP (year) && month > 2) in ymd_to_days()1233 if (ordinal_day < 1 || ordinal_day > (GREGORIAN_LEAP (year) ? 366 : 365)) in g_date_time_new_ordinal()1267 ordinal_day += GREGORIAN_LEAP (year) ? 366 : 365; in g_date_time_new_week()1269 else if (ordinal_day > (GREGORIAN_LEAP (year) ? 366 : 365)) in g_date_time_new_week()1271 ordinal_day -= (GREGORIAN_LEAP (year) ? 366 : 365); in g_date_time_new_week()1593 day < 1 || day > days_in_months[GREGORIAN_LEAP (year)][month] || in g_date_time_new()1765 if (month == 2 && day == 29 && !GREGORIAN_LEAP (year)) in g_date_time_add_years()1814 day = MIN (day, days_in_months[GREGORIAN_LEAP (year)][month]); in g_date_time_add_months()1983 day = MIN (day, days_in_months[GREGORIAN_LEAP (year)][month]); in g_date_time_add_full()[all …]