Searched refs:LEAPOCH (Results 1 – 6 of 6) sorted by relevance
5 #define LEAPOCH (946684800LL + 86400*(31+29)) macro24 secs = t - LEAPOCH; in __secs_to_tm()
266 const LEAPOCH: i64 = 946_684_800 + 86400 * (31 + 29); in from() constant273 let mut days: i64 = (t / 86_400) - (LEAPOCH / 86_400); in from()
264 const LEAPOCH: i64 = 11017; in fmt() constant269 let days = (secs_since_epoch / 86400) as i64 - LEAPOCH; in fmt()