Home
last modified time | relevance | path

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

/haiku/src/add-ons/kernel/file_systems/fat/bsd/kern/
H A Dsubr_fattime.c87 #define LYC (4 * YEAR + 1) /* Length of 4 year leap-year cycle */ macro
172 if (t2 >= ((2100 - 1980) / 4 * LYC + FEB)) in timespec2fattime()
176 l = t2 / LYC; in timespec2fattime()
178 t2 -= l * LYC; in timespec2fattime()
241 day += LYC * ((dd >> 11) & 0x1f); in fattime2timespec()
250 if (day >= ((2100 - 1980) / 4 * LYC + FEB)) in fattime2timespec()