Home
last modified time | relevance | path

Searched refs:GREGORIAN_CYCLE_WEEKS (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/ntp/include/
H A Dntp_calendar.h487 #define GREGORIAN_CYCLE_WEEKS (GREGORIAN_CYCLE_DAYS / 7) macro
/freebsd/contrib/ntp/libntp/
H A Dntp_calendar.c1852 Q = (uint32_t)(sf64 ^ ((sf64 ^ sw64) / GREGORIAN_CYCLE_WEEKS)); in isocal_split_eraweeks()
1853 sw = (uint32_t)(sw64 - Q * GREGORIAN_CYCLE_WEEKS); in isocal_split_eraweeks()
1867 sw %= GREGORIAN_CYCLE_WEEKS; /* full reduction */ in isocal_split_eraweeks()