Home
last modified time | relevance | path

Searched refs:dayOfWeek (Results 1 – 25 of 46) sorted by relevance

12

/external/icu4c/i18n/unicode/
Dsimpletz.h311 void setStartRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek,
357 void setStartRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek,
405 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
425 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
450 void setEndRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek,
477 void setEndRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek,
525 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
546 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
570 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const;
588 uint8_t dayOfWeek, int32_t milliseconds,
[all …]
Dvtzone.h201 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const;
223 uint8_t dayOfWeek, int32_t millis,
380 int32_t month, int32_t weekInMonth, int32_t dayOfWeek,
384 int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
387 int32_t dayOfWeek, int32_t numDays,
391 int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
Dcalendar.h1208 …virtual UCalendarWeekdayType getDayOfWeekType(UCalendarDaysOfWeek dayOfWeek, UErrorCode &status) c…
1224 virtual int32_t getWeekendTransition(UCalendarDaysOfWeek dayOfWeek, UErrorCode &status) const;
1891 int32_t weekNumber(int32_t desiredDay, int32_t dayOfPeriod, int32_t dayOfWeek);
1924 inline int32_t weekNumber(int32_t dayOfPeriod, int32_t dayOfWeek);
2242 inline int32_t Calendar::weekNumber(int32_t dayOfPeriod, int32_t dayOfWeek) in weekNumber() argument
2244 return weekNumber(dayOfPeriod, dayOfPeriod, dayOfWeek); in weekNumber()
Ddtrule.h87 DateTimeRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek,
105 DateTimeRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, UBool after,
Drbtz.h149 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const;
171 uint8_t dayOfWeek, int32_t millis,
Dtimezone.h350 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const = 0;
373 uint8_t dayOfWeek, int32_t milliseconds,
/external/chromium/third_party/icu/public/i18n/unicode/
Dsimpletz.h311 void setStartRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek,
357 void setStartRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek,
405 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
425 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
450 void setEndRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek,
477 void setEndRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek,
525 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
546 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
570 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const;
588 uint8_t dayOfWeek, int32_t milliseconds,
[all …]
Dvtzone.h201 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const;
223 uint8_t dayOfWeek, int32_t millis,
380 int32_t month, int32_t weekInMonth, int32_t dayOfWeek,
384 int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
387 int32_t dayOfWeek, int32_t numDays,
391 int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
Ddtrule.h87 DateTimeRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek,
105 DateTimeRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, UBool after,
Drbtz.h149 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const;
171 uint8_t dayOfWeek, int32_t millis,
Dcalendar.h1832 int32_t weekNumber(int32_t desiredDay, int32_t dayOfPeriod, int32_t dayOfWeek);
1865 inline int32_t weekNumber(int32_t dayOfPeriod, int32_t dayOfWeek);
2179 inline int32_t Calendar::weekNumber(int32_t dayOfPeriod, int32_t dayOfWeek) in weekNumber() argument
2181 return weekNumber(dayOfPeriod, dayOfPeriod, dayOfWeek); in weekNumber()
Dtimezone.h416 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const = 0;
439 uint8_t dayOfWeek, int32_t milliseconds,
/external/icu4c/i18n/
Dsimpletz.cpp304 SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek, in setStartRule() argument
309 startDayOfWeek = (int8_t)dayOfWeek; in setStartRule()
328 SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, in setStartRule() argument
332 -dayOfWeek, time, mode, status); in setStartRule()
356 SimpleTimeZone::setEndRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek, in setEndRule() argument
361 endDayOfWeek = (int8_t)dayOfWeek; in setEndRule()
380 SimpleTimeZone::setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, in setEndRule() argument
384 -dayOfWeek, time, mode, status); in setEndRule()
391 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const in getOffset() argument
405 …return getOffset(era, year, month, day, dayOfWeek, millis, Grego::monthLength(year, month), status… in getOffset()
[all …]
Ddtrule.cpp28 int32_t dayOfWeek, in DateTimeRule() argument
31 : fMonth(month), fDayOfMonth(0), fDayOfWeek(dayOfWeek), fWeekInMonth(weekInMonth), fMillisInDay(mil… in DateTimeRule()
37 int32_t dayOfWeek, in DateTimeRule() argument
42 …fMonth(month), fDayOfMonth(dayOfMonth), fDayOfWeek(dayOfWeek), fWeekInMonth(0), fMillisInDay(milli… in DateTimeRule()
Dvtzone.cpp537 int32_t month, dayOfWeek, nthDayOfWeek, dayOfMonth = 0; in createRuleByRRULE() local
542 parseRRULE(rrule, month, dayOfWeek, nthDayOfWeek, days, daysCount, until, status); in createRuleByRRULE()
551 if (daysCount != 7 || month == -1 || dayOfWeek == 0) { in createRuleByRRULE()
588 if (month == -1 || dayOfWeek == 0 || daysCount == 0) { in createRuleByRRULE()
637 if (tmp_dayOfWeek != dayOfWeek) { in createRuleByRRULE()
687 if (dayOfWeek == 0 && nthDayOfWeek == 0 && dayOfMonth == 0) { in createRuleByRRULE()
701 if (dayOfWeek == 0 && nthDayOfWeek == 0 && dayOfMonth != 0) { in createRuleByRRULE()
704 } else if (dayOfWeek != 0 && nthDayOfWeek != 0 && dayOfMonth == 0) { in createRuleByRRULE()
706 adtr = new DateTimeRule(month, nthDayOfWeek, dayOfWeek, startMID, DateTimeRule::WALL_TIME); in createRuleByRRULE()
707 } else if (dayOfWeek != 0 && nthDayOfWeek == 0 && dayOfMonth != 0) { in createRuleByRRULE()
[all …]
Dcalendar.cpp1295 int8_t dayOfWeek = (int8_t) uprv_fmod(julian + 1, 7); in julianDayToDayOfWeek() local
1297 uint8_t result = (uint8_t)(dayOfWeek + ((dayOfWeek < 0) ? (7+UCAL_SUNDAY ) : UCAL_SUNDAY)); in julianDayToDayOfWeek()
1361 int32_t dayOfWeek = fFields[UCAL_DAY_OF_WEEK]; in computeWeekFields() local
1374 int32_t relDow = (dayOfWeek + 7 - getFirstDayOfWeek()) % 7; // 0..6 in computeWeekFields()
1375 int32_t relDowJan1 = (dayOfWeek - dayOfYear + 7001 - getFirstDayOfWeek()) % 7; // 0..6 in computeWeekFields()
1390 woy = weekNumber(prevDoy, dayOfWeek); in computeWeekFields()
1417 fFields[UCAL_WEEK_OF_MONTH] = weekNumber(dayOfMonth, dayOfWeek); in computeWeekFields()
1426 int32_t Calendar::weekNumber(int32_t desiredDay, int32_t dayOfPeriod, int32_t dayOfWeek) in weekNumber() argument
1431 int32_t periodStartDayOfWeek = (dayOfWeek - getFirstDayOfWeek() - dayOfPeriod + 1) % 7; in weekNumber()
2117 Calendar::getDayOfWeekType(UCalendarDaysOfWeek dayOfWeek, UErrorCode &status) const in getDayOfWeekType() argument
[all …]
Dvzone.cpp116 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) { in vzone_getOffset() argument
117 … return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, status); in vzone_getOffset()
122 uint8_t dayOfWeek, int32_t millis, in vzone_getOffset2() argument
124 …return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, monthLen… in vzone_getOffset2()
Dvzone.h200 uint8_t dayOfWeek, int32_t millis, UErrorCode& status);
224 uint8_t dayOfWeek, int32_t millis,
Dolsontz.h164 int32_t day, uint8_t dayOfWeek,
171 int32_t day, uint8_t dayOfWeek,
/external/chromium/third_party/icu/source/i18n/
Dsimpletz.cpp304 SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek, in setStartRule() argument
309 startDayOfWeek = (int8_t)dayOfWeek; in setStartRule()
328 SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, in setStartRule() argument
332 -dayOfWeek, time, mode, status); in setStartRule()
356 SimpleTimeZone::setEndRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek, in setEndRule() argument
361 endDayOfWeek = (int8_t)dayOfWeek; in setEndRule()
380 SimpleTimeZone::setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, in setEndRule() argument
384 -dayOfWeek, time, mode, status); in setEndRule()
391 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const in getOffset() argument
405 …return getOffset(era, year, month, day, dayOfWeek, millis, Grego::monthLength(year, month), status… in getOffset()
[all …]
Ddtrule.cpp28 int32_t dayOfWeek, in DateTimeRule() argument
31 : fMonth(month), fDayOfMonth(0), fDayOfWeek(dayOfWeek), fWeekInMonth(weekInMonth), fMillisInDay(mil… in DateTimeRule()
37 int32_t dayOfWeek, in DateTimeRule() argument
42 …fMonth(month), fDayOfMonth(dayOfMonth), fDayOfWeek(dayOfWeek), fWeekInMonth(0), fMillisInDay(milli… in DateTimeRule()
Dvtzone.cpp537 int32_t month, dayOfWeek, nthDayOfWeek, dayOfMonth = 0; in createRuleByRRULE() local
542 parseRRULE(rrule, month, dayOfWeek, nthDayOfWeek, days, daysCount, until, status); in createRuleByRRULE()
551 if (daysCount != 7 || month == -1 || dayOfWeek == 0) { in createRuleByRRULE()
588 if (month == -1 || dayOfWeek == 0 || daysCount == 0) { in createRuleByRRULE()
637 if (tmp_dayOfWeek != dayOfWeek) { in createRuleByRRULE()
687 if (dayOfWeek == 0 && nthDayOfWeek == 0 && dayOfMonth == 0) { in createRuleByRRULE()
701 if (dayOfWeek == 0 && nthDayOfWeek == 0 && dayOfMonth != 0) { in createRuleByRRULE()
704 } else if (dayOfWeek != 0 && nthDayOfWeek != 0 && dayOfMonth == 0) { in createRuleByRRULE()
706 adtr = new DateTimeRule(month, nthDayOfWeek, dayOfWeek, startMID, DateTimeRule::WALL_TIME); in createRuleByRRULE()
707 } else if (dayOfWeek != 0 && nthDayOfWeek == 0 && dayOfMonth != 0) { in createRuleByRRULE()
[all …]
Dolsontz.h167 int32_t day, uint8_t dayOfWeek,
174 int32_t day, uint8_t dayOfWeek,
/external/chromium/third_party/icu/source/test/intltest/
Dtzregts.cpp474 int32_t dayOfWeek = cal->get(UCAL_DAY_OF_WEEK, status); in Test4126678() local
482 …int32_t offset = tz->getOffset((uint8_t)era, year, month, day, (uint8_t)dayOfWeek, millis, status); in Test4126678()
636 int32_t dayOfWeek = DATA[i+3]; in Test4154542() local
643 zone->setStartRule(month, day, dayOfWeek, time, status); in Test4154542()
649 ", dayOfWeek=" + dayOfWeek + ", time=" + time + in Test4154542()
657 zone->setEndRule(month, day, dayOfWeek, time, status); in Test4154542()
663 ", dayOfWeek=" + dayOfWeek + ", time=" + time + in Test4154542()
673 (int8_t)month, (int8_t)day, (int8_t)dayOfWeek, time, in Test4154542()
681 ", dayOfWeek=" + dayOfWeek + ", time=" + time + in Test4154542()
693 (int8_t)month, (int8_t)day, (int8_t)dayOfWeek, time,status); in Test4154542()
[all …]
/external/icu4c/test/intltest/
Dtzregts.cpp473 int32_t dayOfWeek = cal->get(UCAL_DAY_OF_WEEK, status); in Test4126678() local
481 …int32_t offset = tz->getOffset((uint8_t)era, year, month, day, (uint8_t)dayOfWeek, millis, status); in Test4126678()
622 int32_t dayOfWeek = DATA[i+3]; in Test4154542() local
629 zone->setStartRule(month, day, dayOfWeek, time, status); in Test4154542()
635 ", dayOfWeek=" + dayOfWeek + ", time=" + time + in Test4154542()
643 zone->setEndRule(month, day, dayOfWeek, time, status); in Test4154542()
649 ", dayOfWeek=" + dayOfWeek + ", time=" + time + in Test4154542()
659 (int8_t)month, (int8_t)day, (int8_t)dayOfWeek, time, in Test4154542()
667 ", dayOfWeek=" + dayOfWeek + ", time=" + time + in Test4154542()
679 (int8_t)month, (int8_t)day, (int8_t)dayOfWeek, time,status); in Test4154542()
[all …]

12