Searched refs:dayOfWeek (Results 1 - 25 of 55) sorted by last modified time

123

/external/robolectric/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...
/external/icu/icu4c/source/i18n/
H A Dcalendar.cpp1495 int8_t dayOfWeek = (int8_t) uprv_fmod(julian + 1, 7); local
1497 uint8_t result = (uint8_t)(dayOfWeek + ((dayOfWeek < 0) ? (7+UCAL_SUNDAY ) : UCAL_SUNDAY));
1561 int32_t dayOfWeek = fFields[UCAL_DAY_OF_WEEK]; local
1574 int32_t relDow = (dayOfWeek + 7 - getFirstDayOfWeek()) % 7; // 0..6
1575 int32_t relDowJan1 = (dayOfWeek - dayOfYear + 7001 - getFirstDayOfWeek()) % 7; // 0..6
1590 woy = weekNumber(prevDoy, dayOfWeek);
1617 fFields[UCAL_WEEK_OF_MONTH] = weekNumber(dayOfMonth, dayOfWeek);
1626 int32_t Calendar::weekNumber(int32_t desiredDay, int32_t dayOfPeriod, int32_t dayOfWeek) argument
1631 int32_t periodStartDayOfWeek = (dayOfWeek
2449 getDayOfWeekType(UCalendarDaysOfWeek dayOfWeek, UErrorCode &status) const argument
2482 getWeekendTransition(UCalendarDaysOfWeek dayOfWeek, UErrorCode &status) const argument
2521 UCalendarDaysOfWeek dayOfWeek = (UCalendarDaysOfWeek)get(UCAL_DAY_OF_WEEK, status); local
[all...]
H A Ddtrule.cpp30 int32_t dayOfWeek,
33 : fMonth(month), fDayOfMonth(0), fDayOfWeek(dayOfWeek), fWeekInMonth(weekInMonth), fMillisInDay(millisInDay),
39 int32_t dayOfWeek,
44 fMonth(month), fDayOfMonth(dayOfMonth), fDayOfWeek(dayOfWeek), fWeekInMonth(0), fMillisInDay(millisInDay),
28 DateTimeRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek, int32_t millisInDay, TimeRuleType timeType) argument
37 DateTimeRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, UBool after, int32_t millisInDay, TimeRuleType timeType) argument
H A Dgregoimp.cpp142 int32_t Grego::dayOfWeek(double day) { function in class:Grego
H A Dgregoimp.h214 static int32_t dayOfWeek(double day);
H A Dolsontz.h168 int32_t day, uint8_t dayOfWeek,
175 int32_t day, uint8_t dayOfWeek,
H A Drbtz.cpp364 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const {
372 return getOffset(era, year, month, day, dayOfWeek, millis,
379 uint8_t /*dayOfWeek*/, int32_t millis,
381 // dayOfWeek and monthLength are unused
363 getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const argument
H A Dsimpletz.cpp272 * The dayOfWeekInMonth and dayOfWeek parameters together specify how to calculate
275 * <li>If both dayOfWeekInMonth and dayOfWeek are positive, they specify the
278 * <li>If dayOfWeek is positive and dayOfWeekInMonth is negative, they specify
281 * <li>If dayOfWeek is zero and dayOfWeekInMonth is positive, dayOfWeekInMonth
284 * <li>If dayOfWeek is zero and dayOfWeekInMonth is negative, dayOfWeekInMonth
288 * <li>If dayOfWeek is negative and dayOfWeekInMonth is positive, they specify the
292 * <li>If dayOfWeek and DayOfWeekInMonth are both negative, they specify the
300 * @param dayOfWeek the daylight savings starting day-of-week. Please see
307 SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek, argument
312 startDayOfWeek = (int8_t)dayOfWeek;
331 setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, int32_t time, TimeMode mode, UBool after, UErrorCode& status) argument
359 setEndRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek, int32_t time, TimeMode mode, UErrorCode& status) argument
383 setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, int32_t time, TimeMode mode, UBool after, UErrorCode& status) argument
393 getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const argument
412 getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, int32_t , UErrorCode& status) const argument
439 getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, int32_t monthLength, int32_t prevMonthLength, UErrorCode& status) const argument
569 compareToRule(int8_t month, int8_t monthLen, int8_t prevMonthLen, int8_t dayOfMonth, int8_t dayOfWeek, int32_t millis, int32_t millisDelta, EMode ruleMode, int8_t ruleMonth, int8_t ruleDayOfWeek, int8_t ruleDay, int32_t ruleMillis) argument
[all...]
H A Dtzrule.cpp299 int32_t dow = Grego::dayOfWeek(ruleDay);
H A Ducal.cpp599 ucal_getDayOfWeekType(const UCalendar *cal, UCalendarDaysOfWeek dayOfWeek, UErrorCode* status) argument
604 return ((Calendar*)cal)->getDayOfWeekType(dayOfWeek, *status);
608 ucal_getWeekendTransition(const UCalendar *cal, UCalendarDaysOfWeek dayOfWeek, UErrorCode *status) argument
613 return ((Calendar*)cal)->getWeekendTransition(dayOfWeek, *status);
H A Dvtzone.cpp539 int32_t month, dayOfWeek, nthDayOfWeek, dayOfMonth = 0; local
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 !
765 isEquivalentDateRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek, const DateTimeRule *dtrule) argument
1184 getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const argument
1190 getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, int32_t monthLength, UErrorCode& status) const argument
2292 writeZonePropsByDOW(VTZWriter& writer, UBool isDst, const UnicodeString& zonename, int32_t fromOffset, int32_t toOffset, int32_t month, int32_t weekInMonth, int32_t dayOfWeek, UDate startTime, UDate untilTime, UErrorCode& status) const argument
2328 writeZonePropsByDOW_GEQ_DOM(VTZWriter& writer, UBool isDst, const UnicodeString& zonename, int32_t fromOffset, int32_t toOffset, int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, UDate startTime, UDate untilTime, UErrorCode& status) const argument
2405 writeZonePropsByDOW_GEQ_DOM_sub(VTZWriter& writer, int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, int32_t numDays, UDate untilTime, int32_t fromOffset, UErrorCode& status) const argument
2452 writeZonePropsByDOW_LEQ_DOM(VTZWriter& writer, UBool isDst, const UnicodeString& zonename, int32_t fromOffset, int32_t toOffset, int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, UDate startTime, UDate untilTime, UErrorCode& status) const argument
[all...]
H A Dvzone.cpp118 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) {
119 return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, status);
124 uint8_t dayOfWeek, int32_t millis,
126 return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, monthLength, status);
117 vzone_getOffset(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, UErrorCode& status) argument
123 vzone_getOffset2(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, int32_t monthLength, UErrorCode& status) argument
H A Dvzone.h182 * @param dayOfWeek The reference date's day-of-week (1-based; 1 is Sunday)
189 uint8_t dayOfWeek, int32_t millis, UErrorCode& status);
204 * @param dayOfWeek The reference date's day-of-week (1-based; 1 is Sunday)
212 uint8_t dayOfWeek, int32_t millis,
/external/icu/icu4c/source/i18n/unicode/
H A Dcalendar.h1387 * @param dayOfWeek The day of the week whose type is desired (UCAL_SUNDAY..UCAL_SATURDAY).
1392 virtual UCalendarWeekdayType getDayOfWeekType(UCalendarDaysOfWeek dayOfWeek, UErrorCode &status) const;
1397 * for the specified dayOfWeek, return the time at which the weekend begins.
1398 * If getDayOfWeekType() returns UCAL_WEEKEND_CEASE for the specified dayOfWeek,
1400 * some other UCalendarWeekdayType for the specified dayOfWeek, is it an error condition
1402 * @param dayOfWeek The day of the week for which the weekend transition time is
1408 virtual int32_t getWeekendTransition(UCalendarDaysOfWeek dayOfWeek, UErrorCode &status) const;
2088 * @param dayOfWeek The {@link #UCalendarDateFields DAY_OF_WEEK} for the day
2099 int32_t weekNumber(int32_t desiredDay, int32_t dayOfPeriod, int32_t dayOfWeek);
2123 * @param dayOfWeek Th
2509 weekNumber(int32_t dayOfPeriod, int32_t dayOfWeek) argument
[all...]
H A Ddtrule.h81 * @param dayOfWeek The day of week, for example, <code>Calendar::SUNDAY</code>.
87 DateTimeRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek,
98 * @param dayOfWeek The day of week, for example, <code>Calendar::SUNDAY</code>.
105 DateTimeRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, UBool after,
H A Drbtz.h142 * @param dayOfWeek The reference date's day-of-week (1-based; 1 is Sunday)
149 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const;
163 * @param dayOfWeek The reference date's day-of-week (1-based; 1 is Sunday)
171 uint8_t dayOfWeek, int32_t millis,
H A Dsimpletz.h54 * along with <code>dayOfWeek = UCAL_SUNDAY</code> to specify the rule.
274 * The dayOfWeekInMonth and dayOfWeek parameters together specify how to calculate
278 * <li>If both dayOfWeekInMonth and dayOfWeek are positive, they specify the
281 * <li>If dayOfWeek is positive and dayOfWeekInMonth is negative, they specify
284 * <li>If dayOfWeek is zero and dayOfWeekInMonth is positive, dayOfWeekInMonth
287 * <li>If dayOfWeek is zero and dayOfWeekInMonth is negative, dayOfWeekInMonth
291 * <li>If dayOfWeek is negative and dayOfWeekInMonth is positive, they specify the
295 * <li>If dayOfWeek and DayOfWeekInMonth are both negative, they specify the
304 * @param dayOfWeek the daylight savings starting day-of-week. Please see
311 void setStartRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek,
884 setStartRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek, int32_t time, UErrorCode& status) argument
896 setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, int32_t time, UBool after, UErrorCode& status) argument
902 setEndRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek, int32_t time, UErrorCode& status) argument
913 setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, int32_t time, UBool after, UErrorCode& status) argument
[all...]
H A Dtimezone.h458 * @param dayOfWeek The reference date's day-of-week (1-based; 1 is Sunday)
465 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const = 0;
480 * @param dayOfWeek the day-of-week of the given date.
488 uint8_t dayOfWeek, int32_t milliseconds,
H A Ducal.h1377 * @param dayOfWeek The day of the week whose type is desired (UCAL_SUNDAY..UCAL_SATURDAY).
1383 ucal_getDayOfWeekType(const UCalendar *cal, UCalendarDaysOfWeek dayOfWeek, UErrorCode* status);
1388 * for the specified dayOfWeek, return the time at which the weekend begins.
1389 * If ucal_getDayOfWeekType() returns UCAL_WEEKEND_CEASE for the specified dayOfWeek,
1391 * some other UCalendarWeekdayType for the specified dayOfWeek, is it an error condition
1394 * @param dayOfWeek The day of the week for which the weekend transition time is
1401 ucal_getWeekendTransition(const UCalendar *cal, UCalendarDaysOfWeek dayOfWeek, UErrorCode *status);
H A Dvtzone.h206 * @param dayOfWeek The reference date's day-of-week (1-based; 1 is Sunday)
213 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const;
227 * @param dayOfWeek The reference date's day-of-week (1-based; 1 is Sunday)
235 uint8_t dayOfWeek, int32_t millis,
392 int32_t month, int32_t weekInMonth, int32_t dayOfWeek,
396 int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
399 int32_t dayOfWeek, int32_t numDays,
403 int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
/external/icu/icu4c/source/test/cintltst/
H A Dccaltst.c1699 UCalendarDaysOfWeek dayOfWeek; member in struct:__anon21986
1803 UCalendarWeekdayType dayType = ucal_getDayOfWeekType(cal, daysOfWeekPtr->dayOfWeek, &status);
1805 transition = ucal_getWeekendTransition(cal, daysOfWeekPtr->dayOfWeek, &status);
1808 log_err("FAIL: locale %s DOW %d getDayOfWeekType() status %s\n", testDaysPtr->locale, daysOfWeekPtr->dayOfWeek, u_errorName(status) );
1811 log_err("FAIL: locale %s DOW %d type %d, expected %d\n", testDaysPtr->locale, daysOfWeekPtr->dayOfWeek, dayType, daysOfWeekPtr->dayType );
1813 log_verbose("OK: locale %s DOW %d type %d\n", testDaysPtr->locale, daysOfWeekPtr->dayOfWeek, dayType );
/external/icu/icu4c/source/test/intltest/
H A Dcalcasts.cpp65 checkField(cal, UCAL_DAY_OF_WEEK, cases[i].dayOfWeek,status);
77 cal->set(UCAL_DAY_OF_WEEK, cases[i].dayOfWeek);
H A Dcalcasts.h33 int32_t dayOfWeek; member in struct:CalendarCaseTest::TestCase
H A Dtzregts.cpp473 int32_t dayOfWeek = cal->get(UCAL_DAY_OF_WEEK, status); local
481 int32_t offset = tz->getOffset((uint8_t)era, year, month, day, (uint8_t)dayOfWeek, millis, status);
626 int32_t dayOfWeek = DATA[i+3]; local
633 zone->setStartRule(month, day, dayOfWeek, time, status);
639 ", dayOfWeek=" + dayOfWeek + ", time=" + time +
647 zone->setEndRule(month, day, dayOfWeek, time, status);
653 ", dayOfWeek=" + dayOfWeek + ", time=" + time +
663 (int8_t)month, (int8_t)day, (int8_t)dayOfWeek, tim
[all...]
H A Dtzrulets.cpp272 int32_t era, year, month, dayOfMonth, dayOfWeek, millisInDay; local
297 dayOfWeek = cal->get(UCAL_DAY_OF_WEEK, status);
303 offset = rbtz1->getOffset(era, year, month, dayOfMonth, dayOfWeek, millisInDay, status);
336 dayOfWeek = cal->get(UCAL_DAY_OF_WEEK, status);
342 offset = rbtz1->getOffset(era, year, month, dayOfMonth, dayOfWeek, millisInDay, status);
1625 // getOffset(era, year, month, day, dayOfWeek, milliseconds, ec)
1638 // getOffset(era, year, month, day, dayOfWeek, milliseconds, monthLength, ec)

Completed in 534 milliseconds

123