Home | History | Annotate | Download | only in i18n

Lines Matching refs:dayOfWeek

537     int32_t month, dayOfWeek, nthDayOfWeek, dayOfMonth = 0;
542 parseRRULE(rrule, month, dayOfWeek, nthDayOfWeek, days, daysCount, until, status);
551 if (daysCount != 7 || month == -1 || dayOfWeek == 0) {
588 if (month == -1 || dayOfWeek == 0 || daysCount == 0) {
637 if (tmp_dayOfWeek != dayOfWeek) {
687 if (dayOfWeek == 0 && nthDayOfWeek == 0 && dayOfMonth == 0) {
701 if (dayOfWeek == 0 && nthDayOfWeek == 0 && dayOfMonth != 0) {
704 } else if (dayOfWeek != 0 && nthDayOfWeek != 0 && dayOfMonth == 0) {
706 adtr = new DateTimeRule(month, nthDayOfWeek, dayOfWeek, startMID, DateTimeRule::WALL_TIME);
707 } else if (dayOfWeek != 0 && nthDayOfWeek == 0 && dayOfMonth != 0) {
710 adtr = new DateTimeRule(month, dayOfMonth, dayOfWeek, TRUE, startMID, DateTimeRule::WALL_TIME);
760 * Check if the DOW rule specified by month, weekInMonth and dayOfWeek is equivalent
763 static UBool isEquivalentDateRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek, const DateTimeRule *dtrule) {
764 if (month != dtrule->getRuleMonth() || dayOfWeek != dtrule->getRuleDayOfWeek()) {
1147 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const {
1148 return tz->getOffset(era, year, month, day, dayOfWeek, millis, status);
1153 uint8_t dayOfWeek, int32_t millis,
1155 return tz->getOffset(era, year, month, day, dayOfWeek, millis, monthLength, status);
2244 int32_t month, int32_t weekInMonth, int32_t dayOfWeek,
2262 writer.write(ICAL_DOW_NAMES[dayOfWeek - 1]); // SU, MO, TU...
2280 int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
2289 month, (dayOfMonth + 6)/7, dayOfWeek, startTime, untilTime, status);
2296 month, -1*((MONTHLENGTH[month] - dayOfMonth + 1)/7), dayOfWeek, startTime, untilTime, status);
2320 writeZonePropsByDOW_GEQ_DOM_sub(writer, prevMonth, -prevMonthDays, dayOfWeek, prevMonthDays,
2336 writeZonePropsByDOW_GEQ_DOM_sub(writer, nextMonth, 1, dayOfWeek, nextMonthDays,
2342 writeZonePropsByDOW_GEQ_DOM_sub(writer, month, startDay, dayOfWeek, currentMonthDays,
2356 int32_t dayOfWeek, int32_t numDays,
2374 writer.write(ICAL_DOW_NAMES[dayOfWeek - 1]); // SU, MO, TU...
2404 int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
2413 month, dayOfMonth/7, dayOfWeek, startTime, untilTime, status);
2417 month, -1*((MONTHLENGTH[month] - dayOfMonth)/7 + 1), dayOfWeek, startTime, untilTime, status);
2421 UCAL_FEBRUARY, -1, dayOfWeek, startTime, untilTime, status);
2425 month, dayOfMonth - 6, dayOfWeek, startTime, untilTime, status);