Searched defs:dayOfWeek (Results 1 - 25 of 34) sorted by relevance

12

/external/chromium_org/third_party/icu/source/test/intltest/
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.cpp274 int32_t era, year, month, dayOfMonth, dayOfWeek, millisInDay; local
299 dayOfWeek = cal->get(UCAL_DAY_OF_WEEK, status);
305 offset = rbtz1->getOffset(era, year, month, dayOfMonth, dayOfWeek, millisInDay, status);
338 dayOfWeek = cal->get(UCAL_DAY_OF_WEEK, status);
344 offset = rbtz1->getOffset(era, year, month, dayOfMonth, dayOfWeek, millisInDay, status);
1627 // getOffset(era, year, month, day, dayOfWeek, milliseconds, ec)
1640 // getOffset(era, year, month, day, dayOfWeek, milliseconds, monthLength, ec)
/external/icu/icu4c/source/test/intltest/
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...]
/external/chromium_org/third_party/icu/source/i18n/
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 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 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 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 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);
/external/icu/icu4c/source/i18n/
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 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 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 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 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);
/external/chromium_org/third_party/icu/source/i18n/unicode/
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 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;
2078 * @param dayOfWeek The {@link #UCalendarDateFields DAY_OF_WEEK} for the day
2089 int32_t weekNumber(int32_t desiredDay, int32_t dayOfPeriod, int32_t dayOfWeek);
2113 * @param dayOfWeek Th
2476 weekNumber(int32_t dayOfPeriod, int32_t dayOfWeek) argument
[all...]
/external/icu/icu4c/source/i18n/unicode/
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 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...]
/external/chromium_org/third_party/WebKit/Source/platform/
H A DDateComponents.cpp63 static int dayOfWeek(int year, int month, int day) function in namespace:blink
84 return dayOfWeek(m_year, m_month, m_monthDay);
89 int day = dayOfWeek(m_year, 0, 1); // January 1.
598 int offsetTo1stWeekStart = 1 - dayOfWeek(year, 0, 1);
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DDateMath.cpp804 String makeRFC2822DateString(unsigned dayOfWeek, unsigned day, unsigned month, unsigned year, unsigned hours, unsigned minutes, unsigned seconds, int utcOffset) argument
807 stringBuilder.append(weekdayName[dayOfWeek]);
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dccaltst.c1695 UCalendarDaysOfWeek dayOfWeek; member in struct:__anon12187
1799 UCalendarWeekdayType dayType = ucal_getDayOfWeekType(cal, daysOfWeekPtr->dayOfWeek, &status);
1801 transition = ucal_getWeekendTransition(cal, daysOfWeekPtr->dayOfWeek, &status);
1804 log_err("FAIL: locale %s DOW %d getDayOfWeekType() status %s\n", testDaysPtr->locale, daysOfWeekPtr->dayOfWeek, u_errorName(status) );
1807 log_err("FAIL: locale %s DOW %d type %d, expected %d\n", testDaysPtr->locale, daysOfWeekPtr->dayOfWeek, dayType, daysOfWeekPtr->dayType );
1809 log_verbose("OK: locale %s DOW %d type %d\n", testDaysPtr->locale, daysOfWeekPtr->dayOfWeek, dayType );
/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 );

Completed in 255 milliseconds

12