Home
last modified time | relevance | path

Searched refs:UCAL_SUNDAY (Results 1 – 25 of 33) sorted by relevance

12

/external/icu/icu4c/source/test/intltest/
Dtzregts.cpp133 z->setStartRule(UCAL_FEBRUARY, 1, UCAL_SUNDAY, 0, status); in Test4073215()
135 z->setEndRule(UCAL_MARCH, -1, UCAL_SUNDAY, 0, status); in Test4073215()
212 1997, UCAL_OCTOBER, 26, UCAL_SUNDAY, (2*60*60*1000), status); in Test4084933()
214 1997, UCAL_OCTOBER, 26, UCAL_SUNDAY, (2*60*60*1000)-1, status); in Test4084933()
217 1997, UCAL_OCTOBER, 26, UCAL_SUNDAY, (1*60*60*1000), status); in Test4084933()
219 1997, UCAL_OCTOBER, 26, UCAL_SUNDAY, (1*60*60*1000)-1, status); in Test4084933()
226 1997, UCAL_APRIL, 6, UCAL_SUNDAY, (2*60*60*1000), status); in Test4084933()
228 1997, UCAL_APRIL, 6, UCAL_SUNDAY, (2*60*60*1000)-1, status); in Test4084933()
230 1997, UCAL_APRIL, 6, UCAL_SUNDAY, (3*60*60*1000), status); in Test4084933()
232 1997, UCAL_APRIL, 6, UCAL_SUNDAY, (3*60*60*1000)-1, status); in Test4084933()
[all …]
Dtzoffloc.cpp134 UCAL_APRIL, 1, UCAL_SUNDAY, 2*HOUR, in TestGetOffsetAroundTransition()
135 UCAL_OCTOBER, -1, UCAL_SUNDAY, 2*HOUR, status); in TestGetOffsetAroundTransition()
152 dtr = new DateTimeRule(UCAL_APRIL, 1, UCAL_SUNDAY, in TestGetOffsetAroundTransition()
163 dtr = new DateTimeRule(UCAL_OCTOBER, -1, UCAL_SUNDAY, in TestGetOffsetAroundTransition()
207 UCAL_SUNDAY, DATES[d][5], status); in TestGetOffsetAroundTransition()
Dtzrulets.cpp154 UCAL_FEBRUARY, 2, UCAL_SUNDAY, 1*HOUR, SimpleTimeZone::WALL_TIME, in TestSimpleRuleBasedTimeZone()
180 dtr = new DateTimeRule(UCAL_FEBRUARY, 2, UCAL_SUNDAY, in TestSimpleRuleBasedTimeZone()
203 dtr = new DateTimeRule(UCAL_FEBRUARY, 8, UCAL_SUNDAY, true, in TestSimpleRuleBasedTimeZone()
224 dtr = new DateTimeRule(UCAL_FEBRUARY, 2, UCAL_SUNDAY, in TestSimpleRuleBasedTimeZone()
442 dtr = new DateTimeRule(UCAL_OCTOBER, -1, UCAL_SUNDAY, in TestHistoricalRuleBasedTimeZone()
450 dtr = new DateTimeRule(UCAL_NOVEMBER, 1, UCAL_SUNDAY, in TestHistoricalRuleBasedTimeZone()
459 dtr = new DateTimeRule(UCAL_APRIL, -1, UCAL_SUNDAY, in TestHistoricalRuleBasedTimeZone()
483 dtr = new DateTimeRule(UCAL_APRIL, -1, UCAL_SUNDAY, in TestHistoricalRuleBasedTimeZone()
491 dtr = new DateTimeRule(UCAL_APRIL, 1, UCAL_SUNDAY, in TestHistoricalRuleBasedTimeZone()
499 dtr = new DateTimeRule(UCAL_MARCH, 8, UCAL_SUNDAY, in TestHistoricalRuleBasedTimeZone()
[all …]
Dcalregts.cpp331 pdt->setStartRule(UCAL_APRIL, 1, UCAL_SUNDAY, 2 * 60 * 60 * 1000, status); in test4040996()
332 pdt->setEndRule(UCAL_OCTOBER, -1, UCAL_SUNDAY, 2 * 60 * 60 * 1000, status); in test4040996()
528 cal->get(UCAL_DAY_OF_WEEK,status) == UCAL_SUNDAY) in test4070502()
550 if (wd == UCAL_SATURDAY || wd == UCAL_SUNDAY) { in getAssociatedDate()
589 if (min != UCAL_SUNDAY || max != UCAL_SATURDAY) in dowTest()
593 if (dow != UCAL_SUNDAY) in dowTest()
1034 testCal->setFirstDayOfWeek(UCAL_SUNDAY); in test4103271()
1057 testCal->set(UCAL_DAY_OF_WEEK, (i%7) + UCAL_SUNDAY); in test4103271()
1073 1997, 1998, 1, UCAL_SUNDAY, in test4103271()
1087 testCal->setFirstDayOfWeek(UCAL_SUNDAY); in test4103271()
[all …]
Ddtfmrgts.cpp1313 new Test1684Data(2001, 8, 5,/*12,*/ 2001,8,2,UCAL_SUNDAY, "2001 08 02 Sun", NULL), in Test1684()
1316 new Test1684Data(2001, 8, 5, 2001,7,6,UCAL_SUNDAY, "2001 07 06 Sun", "2001 08 02 Sun"), in Test1684()
1319 …new Test1684Data(2001, 7,29, /*8, 5,*/ 2001,8,1,UCAL_SUNDAY, "2001 08 01 Sun", "2001 07 05 Su… in Test1684()
1326 …new Test1684Data(2001,12,30, /*2002, 1, 6,*/ 2002,1,1,UCAL_SUNDAY, "2002 01 01 Sun", "2001 12… in Test1684()
1347 cal->setFirstDayOfWeek(UCAL_SUNDAY); in Test1684()
Dtztest.cpp1614 UCAL_SUNDAY, 10 * millisPerHour,status); in TestAlternateRules()
1625 UCAL_SUNDAY, 10 * millisPerHour,status); in TestAlternateRules()
1846 UCAL_NOVEMBER, 1, UCAL_SUNDAY, // start: November, first, Sunday in TestFebruary()
1848 UCAL_FEBRUARY, -1, UCAL_SUNDAY, // end: February, last, Sunday in TestFebruary()
1861 UCAL_NOVEMBER, 1, -UCAL_SUNDAY, // start: November, 1 or after, Sunday in TestFebruary()
1863 UCAL_FEBRUARY, -29, -UCAL_SUNDAY,// end: February, 29 or before, Sunday in TestFebruary()
Dcalcasts.cpp109 enum { SUN=UCAL_SUNDAY,
Dcaltest.cpp447 for (i=UCAL_SUNDAY; i<=UCAL_SATURDAY; ++i) in TestGenericAPI()
706 … if (dow != UCAL_SUNDAY) errln("FAIL: Day of week should be SUNDAY[%d] not %d", UCAL_SUNDAY, dow); in dowTest()
707 if (min != UCAL_SUNDAY || in dowTest()
2004 cal.setFirstDayOfWeek(UCAL_SUNDAY); in TestYWOY()
2985 for (int32_t d = UCAL_SUNDAY; d <= UCAL_SATURDAY; d++) { in TestWeekData()
Dtzbdtest.cpp436 …L, 14, - UCAL_WEDNESDAY, 2 *(int32_t)ONE_HOUR, UCAL_SEPTEMBER, - 20, - UCAL_SUNDAY, 2 * (int32_t)O… in TestNewRules()
/external/chromium_org/third_party/icu/source/test/intltest/
Dtzregts.cpp133 z->setStartRule(UCAL_FEBRUARY, 1, UCAL_SUNDAY, 0, status); in Test4073215()
135 z->setEndRule(UCAL_MARCH, -1, UCAL_SUNDAY, 0, status); in Test4073215()
212 1997, UCAL_OCTOBER, 26, UCAL_SUNDAY, (2*60*60*1000), status); in Test4084933()
214 1997, UCAL_OCTOBER, 26, UCAL_SUNDAY, (2*60*60*1000)-1, status); in Test4084933()
217 1997, UCAL_OCTOBER, 26, UCAL_SUNDAY, (1*60*60*1000), status); in Test4084933()
219 1997, UCAL_OCTOBER, 26, UCAL_SUNDAY, (1*60*60*1000)-1, status); in Test4084933()
226 1997, UCAL_APRIL, 6, UCAL_SUNDAY, (2*60*60*1000), status); in Test4084933()
228 1997, UCAL_APRIL, 6, UCAL_SUNDAY, (2*60*60*1000)-1, status); in Test4084933()
230 1997, UCAL_APRIL, 6, UCAL_SUNDAY, (3*60*60*1000), status); in Test4084933()
232 1997, UCAL_APRIL, 6, UCAL_SUNDAY, (3*60*60*1000)-1, status); in Test4084933()
[all …]
Dtzoffloc.cpp134 UCAL_APRIL, 1, UCAL_SUNDAY, 2*HOUR, in TestGetOffsetAroundTransition()
135 UCAL_OCTOBER, -1, UCAL_SUNDAY, 2*HOUR, status); in TestGetOffsetAroundTransition()
152 dtr = new DateTimeRule(UCAL_APRIL, 1, UCAL_SUNDAY, in TestGetOffsetAroundTransition()
163 dtr = new DateTimeRule(UCAL_OCTOBER, -1, UCAL_SUNDAY, in TestGetOffsetAroundTransition()
207 UCAL_SUNDAY, DATES[d][5], status); in TestGetOffsetAroundTransition()
Dtzrulets.cpp156 UCAL_FEBRUARY, 2, UCAL_SUNDAY, 1*HOUR, SimpleTimeZone::WALL_TIME, in TestSimpleRuleBasedTimeZone()
182 dtr = new DateTimeRule(UCAL_FEBRUARY, 2, UCAL_SUNDAY, in TestSimpleRuleBasedTimeZone()
205 dtr = new DateTimeRule(UCAL_FEBRUARY, 8, UCAL_SUNDAY, true, in TestSimpleRuleBasedTimeZone()
226 dtr = new DateTimeRule(UCAL_FEBRUARY, 2, UCAL_SUNDAY, in TestSimpleRuleBasedTimeZone()
444 dtr = new DateTimeRule(UCAL_OCTOBER, -1, UCAL_SUNDAY, in TestHistoricalRuleBasedTimeZone()
452 dtr = new DateTimeRule(UCAL_NOVEMBER, 1, UCAL_SUNDAY, in TestHistoricalRuleBasedTimeZone()
461 dtr = new DateTimeRule(UCAL_APRIL, -1, UCAL_SUNDAY, in TestHistoricalRuleBasedTimeZone()
485 dtr = new DateTimeRule(UCAL_APRIL, -1, UCAL_SUNDAY, in TestHistoricalRuleBasedTimeZone()
493 dtr = new DateTimeRule(UCAL_APRIL, 1, UCAL_SUNDAY, in TestHistoricalRuleBasedTimeZone()
501 dtr = new DateTimeRule(UCAL_MARCH, 8, UCAL_SUNDAY, in TestHistoricalRuleBasedTimeZone()
[all …]
Dcalregts.cpp331 pdt->setStartRule(UCAL_APRIL, 1, UCAL_SUNDAY, 2 * 60 * 60 * 1000, status); in test4040996()
332 pdt->setEndRule(UCAL_OCTOBER, -1, UCAL_SUNDAY, 2 * 60 * 60 * 1000, status); in test4040996()
528 cal->get(UCAL_DAY_OF_WEEK,status) == UCAL_SUNDAY) in test4070502()
550 if (wd == UCAL_SATURDAY || wd == UCAL_SUNDAY) { in getAssociatedDate()
589 if (min != UCAL_SUNDAY || max != UCAL_SATURDAY) in dowTest()
593 if (dow != UCAL_SUNDAY) in dowTest()
1034 testCal->setFirstDayOfWeek(UCAL_SUNDAY); in test4103271()
1057 testCal->set(UCAL_DAY_OF_WEEK, (i%7) + UCAL_SUNDAY); in test4103271()
1073 1997, 1998, 1, UCAL_SUNDAY, in test4103271()
1087 testCal->setFirstDayOfWeek(UCAL_SUNDAY); in test4103271()
[all …]
Ddtfmrgts.cpp1310 new Test1684Data(2001, 8, 5,/*12,*/ 2001,8,2,UCAL_SUNDAY, "2001 08 02 Sun", NULL), in Test1684()
1313 new Test1684Data(2001, 8, 5, 2001,7,6,UCAL_SUNDAY, "2001 07 06 Sun", "2001 08 02 Sun"), in Test1684()
1316 …new Test1684Data(2001, 7,29, /*8, 5,*/ 2001,8,1,UCAL_SUNDAY, "2001 08 01 Sun", "2001 07 05 Su… in Test1684()
1323 …new Test1684Data(2001,12,30, /*2002, 1, 6,*/ 2002,1,1,UCAL_SUNDAY, "2002 01 01 Sun", "2001 12… in Test1684()
1344 cal->setFirstDayOfWeek(UCAL_SUNDAY); in Test1684()
Dtztest.cpp1623 UCAL_SUNDAY, 10 * millisPerHour,status); in TestAlternateRules()
1634 UCAL_SUNDAY, 10 * millisPerHour,status); in TestAlternateRules()
1855 UCAL_NOVEMBER, 1, UCAL_SUNDAY, // start: November, first, Sunday in TestFebruary()
1857 UCAL_FEBRUARY, -1, UCAL_SUNDAY, // end: February, last, Sunday in TestFebruary()
1870 UCAL_NOVEMBER, 1, -UCAL_SUNDAY, // start: November, 1 or after, Sunday in TestFebruary()
1872 UCAL_FEBRUARY, -29, -UCAL_SUNDAY,// end: February, 29 or before, Sunday in TestFebruary()
Dcalcasts.cpp109 enum { SUN=UCAL_SUNDAY,
Dcaltest.cpp426 for (i=UCAL_SUNDAY; i<=UCAL_SATURDAY; ++i) in TestGenericAPI()
685 … if (dow != UCAL_SUNDAY) errln("FAIL: Day of week should be SUNDAY[%d] not %d", UCAL_SUNDAY, dow); in dowTest()
686 if (min != UCAL_SUNDAY || in dowTest()
1983 cal.setFirstDayOfWeek(UCAL_SUNDAY); in TestYWOY()
Dtzbdtest.cpp436 …L, 14, - UCAL_WEDNESDAY, 2 *(int32_t)ONE_HOUR, UCAL_SEPTEMBER, - 20, - UCAL_SUNDAY, 2 * (int32_t)O… in TestNewRules()
/external/chromium_org/third_party/icu/source/i18n/
Dgregoimp.cpp121 dow += (dow < 0) ? (UCAL_SUNDAY + 7) : UCAL_SUNDAY; in dayToFields()
Dcalendar.cpp1368 uint8_t result = (uint8_t)(dayOfWeek + ((dayOfWeek < 0) ? (7+UCAL_SUNDAY ) : UCAL_SUNDAY)); in julianDayToDayOfWeek()
2250 value >= UCAL_SUNDAY && value <= UCAL_SATURDAY) { in setFirstDayOfWeek()
2305 if (dayOfWeek < UCAL_SUNDAY || dayOfWeek > UCAL_SATURDAY) { in getDayOfWeekType()
3438 if (dow < UCAL_SUNDAY) { in prepareGetActual()
3528 fFirstDayOfWeek = UCAL_SUNDAY; in setWeekData()
3532 fWeekendCease = UCAL_SUNDAY; in setWeekData()
/external/icu/icu4c/source/i18n/
Dgregoimp.cpp121 dow += (dow < 0) ? (UCAL_SUNDAY + 7) : UCAL_SUNDAY; in dayToFields()
Dcalendar.cpp1497 uint8_t result = (uint8_t)(dayOfWeek + ((dayOfWeek < 0) ? (7+UCAL_SUNDAY ) : UCAL_SUNDAY)); in julianDayToDayOfWeek()
2399 value >= UCAL_SUNDAY && value <= UCAL_SATURDAY) { in setFirstDayOfWeek()
2454 if (dayOfWeek < UCAL_SUNDAY || dayOfWeek > UCAL_SATURDAY) { in getDayOfWeekType()
3599 if (dow < UCAL_SUNDAY) { in prepareGetActual()
3689 fFirstDayOfWeek = UCAL_SUNDAY; in setWeekData()
3693 fWeekendCease = UCAL_SUNDAY; in setWeekData()
/external/chromium_org/third_party/WebKit/Source/platform/text/
DLocaleICU.cpp216 …eek = ucal_getAttribute(udat_getCalendar(m_shortDateFormat), UCAL_FIRST_DAY_OF_WEEK) - UCAL_SUNDAY; in initializeCalendar()
218 … m_weekDayShortLabels = createLabelVector(m_shortDateFormat, UDAT_SHORT_WEEKDAYS, UCAL_SUNDAY, 7); in initializeCalendar()
/external/chromium_org/third_party/icu/source/i18n/unicode/
Ducal.h455 UCAL_SUNDAY = 1, enumerator
/external/icu/icu4c/source/i18n/unicode/
Ducal.h455 UCAL_SUNDAY = 1, enumerator

12