Lines Matching defs:week
768 * elapsed seconds since week start in 'res.lo' using explicit floor
1003 /* Get day-of-week first. It's simply the RD (mod 7)... */
1040 /* get day-of-week first */
1258 int32_t week,
1266 res.q_s = week;
1272 res = _dwjoin(4725, week, secs);
1666 * day-of-week calculations
1671 * Given a RataDie and a day-of-week, calculate a RDN that is reater-than,
1673 * and denotes the given day-of-week
1723 * ISO week-calendar conversions
1930 /* get year and week in year */
1931 ds = isocal_split_eraweeks(ds.hi); /* elapsed years&week*/
1933 id->week = (uint8_t )ds.lo + 1;
1967 + (int32_t)id->week - 1;
2076 /* set GPS base week for GPS week unfolding */
2083 msyslog(LOG_INFO, "gps base set to %04hu-%02hu-%02hu (week %d)",
2121 * anyway, and since the truncated GPS week number is 10 bit, the
2140 * reconstruct the centrury from a truncated date and a day-of-week
2142 * Given a date with truncated year (2-digit, 0..99) and a day-of-week
2173 * If this yields a result of 4/5/6, the given date/day-of-week