Home | History | Annotate | Download | only in i18n

Lines Matching refs:dayOfWeek

539     int32_t month, dayOfWeek, nthDayOfWeek, dayOfMonth = 0;
544 parseRRULE(rrule, month, dayOfWeek, nthDayOfWeek, days, daysCount, until, status);
553 if (daysCount != 7 || month == -1 || dayOfWeek == 0) {
590 if (month == -1 || dayOfWeek == 0 || daysCount == 0) {
639 if (tmp_dayOfWeek != dayOfWeek) {
689 if (dayOfWeek == 0 && nthDayOfWeek == 0 && dayOfMonth == 0) {
703 if (dayOfWeek == 0 && nthDayOfWeek == 0 && dayOfMonth != 0) {
706 } else if (dayOfWeek != 0 && nthDayOfWeek != 0 && dayOfMonth == 0) {
708 adtr = new DateTimeRule(month, nthDayOfWeek, dayOfWeek, startMID, DateTimeRule::WALL_TIME);
709 } else if (dayOfWeek != 0 && nthDayOfWeek == 0 && dayOfMonth != 0) {
712 adtr = new DateTimeRule(month, dayOfMonth, dayOfWeek, TRUE, startMID, DateTimeRule::WALL_TIME);
762 * Check if the DOW rule specified by month, weekInMonth and dayOfWeek is equivalent
765 static UBool isEquivalentDateRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek, const DateTimeRule *dtrule) {
766 if (month != dtrule->getRuleMonth() || dayOfWeek != dtrule->getRuleDayOfWeek()) {
1185 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const {
1186 return tz->getOffset(era, year, month, day, dayOfWeek, millis, status);
1191 uint8_t dayOfWeek, int32_t millis,
1193 return tz->getOffset(era, year, month, day, dayOfWeek, millis, monthLength, status);
2294 int32_t month, int32_t weekInMonth, int32_t dayOfWeek,
2312 writer.write(ICAL_DOW_NAMES[dayOfWeek - 1]); // SU, MO, TU...
2330 int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
2339 month, (dayOfMonth + 6)/7, dayOfWeek, startTime, untilTime, status);
2346 month, -1*((MONTHLENGTH[month] - dayOfMonth + 1)/7), dayOfWeek, startTime, untilTime, status);
2370 writeZonePropsByDOW_GEQ_DOM_sub(writer, prevMonth, -prevMonthDays, dayOfWeek, prevMonthDays,
2386 writeZonePropsByDOW_GEQ_DOM_sub(writer, nextMonth, 1, dayOfWeek, nextMonthDays,
2392 writeZonePropsByDOW_GEQ_DOM_sub(writer, month, startDay, dayOfWeek, currentMonthDays,
2406 int32_t dayOfWeek, int32_t numDays,
2424 writer.write(ICAL_DOW_NAMES[dayOfWeek - 1]); // SU, MO, TU...
2454 int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
2463 month, dayOfMonth/7, dayOfWeek, startTime, untilTime, status);
2467 month, -1*((MONTHLENGTH[month] - dayOfMonth)/7 + 1), dayOfWeek, startTime, untilTime, status);
2471 UCAL_FEBRUARY, -1, dayOfWeek, startTime, untilTime, status);
2475 month, dayOfMonth - 6, dayOfWeek, startTime, untilTime, status);