Lines Matching defs:week
63 uint8_t week;
1174 // need to turn (week, day-of-week) into day-of-month
1176 // Week 1 is the first week in which day `day` (where 0 = Sunday) appears.
1198 // Now use a 0-based index version of `week` to calculate the w-th
1200 month_day += ((int8_t)(self->week) - 1) * 7;
1204 // month and if so knock off 1 week.
1216 calendarrule_new(uint8_t month, uint8_t week, uint8_t day, int8_t hour,
1222 // The d'th day (0 <= d <= 6) of week n of month m of the year (1 <= n <=
1223 // 5, 1 <= m <= 12, where week 5 means "the last d day in month m" which
1224 // may occur in either the fourth or the fifth week). Week 1 is the first
1225 // week in which the d'th day occurs. Day zero is Sunday.
1231 if (week <= 0 || week > 5) {
1248 .week = week,
1749 // 3. Mm.n.d: Specifying by month, week and day-of-week.
1752 uint8_t month, week, day;
1769 uint8_t *values[2] = {&week, &day};
1797 if (calendarrule_new(month, week, day, hour, minute, second, rv)) {