Searched defs:is_leap (Results 1 – 5 of 5) sorted by relevance
41 is_leap(unsigned y) in is_leap() function
47 #define year_secs(y) ((is_leap(y) ? 366 : 365) * 86400) in dns_time64_totext() macro
47 #define is_leap(y) ((((y) % 4) == 0 && ((y) % 100) != 0) || ((y) % 400) == 0) in dns_time64_totext() macro
140 is_leap(int year) in is_leap() function