Home
last modified time | relevance | path

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

/external/u-boot/include/linux/
Dtime.h17 #define DAYSPERWEEK 7 macro
104 if ((res->tm_wday = ((EPOCH_WDAY + days) % DAYSPERWEEK)) < 0)
105 res->tm_wday += DAYSPERWEEK;
/external/icu/icu4c/source/tools/tzcode/
Dlocaltime.c725 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()
Dtzfile.h120 #define DAYSPERWEEK 7 macro
Dasctime.c90 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= DAYSPERWEEK) in asctime_r()
Dzic.c2007 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()