Searched refs:DAYSPERWEEK (Results 1 – 4 of 4) sorted by relevance
120 #define DAYSPERWEEK 7 macro
90 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= DAYSPERWEEK) in asctime_r()
725 strp = getnum(strp, &num, 0, HOURSPERDAY * DAYSPERWEEK - 1); in getsecs()805 strp = getnum(strp, &rulep->r_day, 0, DAYSPERWEEK - 1); in getrule()881 dow += DAYSPERWEEK; in transtime()890 d += DAYSPERWEEK; in transtime()892 if (d + DAYSPERWEEK >= in transtime()895 d += DAYSPERWEEK; in transtime()1517 ((y - EPOCH_YEAR) % DAYSPERWEEK) * in timesub()1518 (DAYSPERNYEAR % DAYSPERWEEK) + in timesub()1522 tmp->tm_wday %= DAYSPERWEEK; in timesub()1524 tmp->tm_wday += DAYSPERWEEK; in timesub()
2007 if (hours >= HOURSPERDAY * DAYSPERWEEK) { in stringoffset()2047 wdayoff = (rp->r_dayofmonth - 1) % DAYSPERWEEK; in stringrule()2052 week = 1 + (rp->r_dayofmonth - 1) / DAYSPERWEEK; in stringrule()2057 wdayoff = rp->r_dayofmonth % DAYSPERWEEK; in stringrule()2062 week = rp->r_dayofmonth / DAYSPERWEEK; in stringrule()2066 wday += DAYSPERWEEK; in stringrule()3023 #define LDAYSPERWEEK ((zic_t) DAYSPERWEEK) in rpytime()