Home
last modified time | relevance | path

Searched refs:is_leapyear (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/ntp/ntpd/
H A Dcheck_y2k.c302 #define is_leapyear(y) (y%4 == 0 && !(y%100 == 0 && !(y%400 == 0))) in main() macro
310 if ( !(!LeapSw) != !(!is_leapyear(year)) ) in main()
/freebsd/contrib/ntp/include/
H A Dntp_calendar.h524 is_leapyear(int32_t y) { in is_leapyear() function
/freebsd/contrib/ntp/libntp/
H A Dntp_calendar.c1429 mdays -= 2 - is_leapyear(years+1); in ntpcal_edate_to_yeardays()