Home
last modified time | relevance | path

Searched refs:dayOfWeek (Results 1 – 25 of 27) 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.h213 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const;
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,
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,
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);
2248 inline int32_t Calendar::weekNumber(int32_t dayOfPeriod, int32_t dayOfWeek) in weekNumber() argument
2250 return weekNumber(dayOfPeriod, dayOfPeriod, dayOfWeek); in weekNumber()
Drbtz.h149 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const;
171 uint8_t dayOfWeek, int32_t millis,
Dtimezone.h373 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const = 0;
396 uint8_t dayOfWeek, int32_t milliseconds,
Ducal.h1303 ucal_getDayOfWeekType(const UCalendar *cal, UCalendarDaysOfWeek dayOfWeek, UErrorCode* status);
1321 ucal_getWeekendTransition(const UCalendar *cal, UCalendarDaysOfWeek dayOfWeek, UErrorCode *status);
/external/icu4c/i18n/
Dsimpletz.cpp306 SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek, in setStartRule() argument
311 startDayOfWeek = (int8_t)dayOfWeek; in setStartRule()
330 SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, in setStartRule() argument
334 -dayOfWeek, time, mode, status); in setStartRule()
358 SimpleTimeZone::setEndRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek, in setEndRule() argument
363 endDayOfWeek = (int8_t)dayOfWeek; in setEndRule()
382 SimpleTimeZone::setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, in setEndRule() argument
386 -dayOfWeek, time, mode, status); in setEndRule()
393 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const in getOffset() argument
407 …return getOffset(era, year, month, day, dayOfWeek, millis, Grego::monthLength(year, month), status… in getOffset()
[all …]
Ddtrule.cpp30 int32_t dayOfWeek, in DateTimeRule() argument
33 : fMonth(month), fDayOfMonth(0), fDayOfWeek(dayOfWeek), fWeekInMonth(weekInMonth), fMillisInDay(mil… in DateTimeRule()
39 int32_t dayOfWeek, in DateTimeRule() argument
44 …fMonth(month), fDayOfMonth(dayOfMonth), fDayOfWeek(dayOfWeek), fWeekInMonth(0), fMillisInDay(milli… in DateTimeRule()
Dvtzone.cpp539 int32_t month, dayOfWeek, nthDayOfWeek, dayOfMonth = 0; in createRuleByRRULE() local
544 parseRRULE(rrule, month, dayOfWeek, nthDayOfWeek, days, daysCount, until, status); in createRuleByRRULE()
553 if (daysCount != 7 || month == -1 || dayOfWeek == 0) { in createRuleByRRULE()
590 if (month == -1 || dayOfWeek == 0 || daysCount == 0) { in createRuleByRRULE()
639 if (tmp_dayOfWeek != dayOfWeek) { in createRuleByRRULE()
689 if (dayOfWeek == 0 && nthDayOfWeek == 0 && dayOfMonth == 0) { in createRuleByRRULE()
703 if (dayOfWeek == 0 && nthDayOfWeek == 0 && dayOfMonth != 0) { in createRuleByRRULE()
706 } else if (dayOfWeek != 0 && nthDayOfWeek != 0 && dayOfMonth == 0) { in createRuleByRRULE()
708 adtr = new DateTimeRule(month, nthDayOfWeek, dayOfWeek, startMID, DateTimeRule::WALL_TIME); in createRuleByRRULE()
709 } else if (dayOfWeek != 0 && nthDayOfWeek == 0 && dayOfMonth != 0) { in createRuleByRRULE()
[all …]
Dvzone.cpp118 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) { in vzone_getOffset() argument
119 … return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, status); in vzone_getOffset()
124 uint8_t dayOfWeek, int32_t millis, in vzone_getOffset2() argument
126 …return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, monthLen… in vzone_getOffset2()
Dcalendar.cpp1318 int8_t dayOfWeek = (int8_t) uprv_fmod(julian + 1, 7); in julianDayToDayOfWeek() local
1320 uint8_t result = (uint8_t)(dayOfWeek + ((dayOfWeek < 0) ? (7+UCAL_SUNDAY ) : UCAL_SUNDAY)); in julianDayToDayOfWeek()
1384 int32_t dayOfWeek = fFields[UCAL_DAY_OF_WEEK]; in computeWeekFields() local
1397 int32_t relDow = (dayOfWeek + 7 - getFirstDayOfWeek()) % 7; // 0..6 in computeWeekFields()
1398 int32_t relDowJan1 = (dayOfWeek - dayOfYear + 7001 - getFirstDayOfWeek()) % 7; // 0..6 in computeWeekFields()
1413 woy = weekNumber(prevDoy, dayOfWeek); in computeWeekFields()
1440 fFields[UCAL_WEEK_OF_MONTH] = weekNumber(dayOfMonth, dayOfWeek); in computeWeekFields()
1449 int32_t Calendar::weekNumber(int32_t desiredDay, int32_t dayOfPeriod, int32_t dayOfWeek) in weekNumber() argument
1454 int32_t periodStartDayOfWeek = (dayOfWeek - getFirstDayOfWeek() - dayOfPeriod + 1) % 7; in weekNumber()
2142 Calendar::getDayOfWeekType(UCalendarDaysOfWeek dayOfWeek, UErrorCode &status) const in getDayOfWeekType() argument
[all …]
Dvzone.h189 uint8_t dayOfWeek, int32_t millis, UErrorCode& status);
212 uint8_t dayOfWeek, int32_t millis,
Dolsontz.h167 int32_t day, uint8_t dayOfWeek,
174 int32_t day, uint8_t dayOfWeek,
Ducal.cpp575 ucal_getDayOfWeekType(const UCalendar *cal, UCalendarDaysOfWeek dayOfWeek, UErrorCode* status) in ucal_getDayOfWeekType() argument
580 return ((Calendar*)cal)->getDayOfWeekType(dayOfWeek, *status); in ucal_getDayOfWeekType()
584 ucal_getWeekendTransition(const UCalendar *cal, UCalendarDaysOfWeek dayOfWeek, UErrorCode *status) in ucal_getWeekendTransition() argument
589 return ((Calendar*)cal)->getWeekendTransition(dayOfWeek, *status); in ucal_getWeekendTransition()
Dgregoimp.h214 static int32_t dayOfWeek(double day);
Dgregoimp.cpp142 int32_t Grego::dayOfWeek(double day) { in dayOfWeek() function in Grego
Drbtz.cpp348 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const { in getOffset() argument
356 return getOffset(era, year, month, day, dayOfWeek, millis, in getOffset()
Dtzrule.cpp299 int32_t dow = Grego::dayOfWeek(ruleDay); in getStartInYear()
/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()
626 int32_t dayOfWeek = DATA[i+3]; in Test4154542() local
633 zone->setStartRule(month, day, dayOfWeek, time, status); in Test4154542()
639 ", dayOfWeek=" + dayOfWeek + ", time=" + time + in Test4154542()
647 zone->setEndRule(month, day, dayOfWeek, time, status); in Test4154542()
653 ", dayOfWeek=" + dayOfWeek + ", time=" + time + in Test4154542()
663 (int8_t)month, (int8_t)day, (int8_t)dayOfWeek, time, in Test4154542()
671 ", dayOfWeek=" + dayOfWeek + ", time=" + time + in Test4154542()
683 (int8_t)month, (int8_t)day, (int8_t)dayOfWeek, time,status); in Test4154542()
[all …]
Dcalcasts.h33 int32_t dayOfWeek; member
Dcalcasts.cpp65 checkField(cal, UCAL_DAY_OF_WEEK, cases[i].dayOfWeek,status); in doTestCases()
77 cal->set(UCAL_DAY_OF_WEEK, cases[i].dayOfWeek); in doTestCases()
Dtzrulets.cpp273 int32_t era, year, month, dayOfMonth, dayOfWeek, millisInDay; in TestSimpleRuleBasedTimeZone() local
298 dayOfWeek = cal->get(UCAL_DAY_OF_WEEK, status); in TestSimpleRuleBasedTimeZone()
304 offset = rbtz1->getOffset(era, year, month, dayOfMonth, dayOfWeek, millisInDay, status); in TestSimpleRuleBasedTimeZone()
337 dayOfWeek = cal->get(UCAL_DAY_OF_WEEK, status); in TestSimpleRuleBasedTimeZone()
343 offset = rbtz1->getOffset(era, year, month, dayOfMonth, dayOfWeek, millisInDay, status); in TestSimpleRuleBasedTimeZone()
/external/webkit/Source/WebCore/html/
DDateComponents.cpp76 static int dayOfWeek(int year, int month, int day) in dayOfWeek() function
97 int day = dayOfWeek(m_year, 0, 1); // January 1. in maxWeekNumberInYear()
611 int offsetTo1stWeekStart = 1 - dayOfWeek(year, 0, 1); in offsetTo1stWeekStart()
/external/icu4c/test/cintltst/
Dccaltst.c1571 UCalendarDaysOfWeek dayOfWeek; member
1668 … UCalendarWeekdayType dayType = ucal_getDayOfWeekType(cal, daysOfWeekPtr->dayOfWeek, &status); in TestWeekend()
1670 transition = ucal_getWeekendTransition(cal, daysOfWeekPtr->dayOfWeek, &status); in TestWeekend()
1673 …%d getDayOfWeekType() status %s\n", testDaysPtr->locale, daysOfWeekPtr->dayOfWeek, u_errorName(sta… in TestWeekend()
1676 … %s DOW %d type %d, expected %d\n", testDaysPtr->locale, daysOfWeekPtr->dayOfWeek, dayType, daysOf… in TestWeekend()
1678 …log_verbose("OK: locale %s DOW %d type %d\n", testDaysPtr->locale, daysOfWeekPtr->dayOfWeek, day… in TestWeekend()

12