Home
last modified time | relevance | path

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

/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.cpp136 UCAL_APRIL, 1, UCAL_SUNDAY, 2*HOUR, in TestGetOffsetAroundTransition()
137 UCAL_OCTOBER, -1, UCAL_SUNDAY, 2*HOUR, status); in TestGetOffsetAroundTransition()
154 dtr = new DateTimeRule(UCAL_APRIL, 1, UCAL_SUNDAY, in TestGetOffsetAroundTransition()
165 dtr = new DateTimeRule(UCAL_OCTOBER, -1, UCAL_SUNDAY, in TestGetOffsetAroundTransition()
209 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.cpp333 pdt->setStartRule(UCAL_APRIL, 1, UCAL_SUNDAY, 2 * 60 * 60 * 1000, status); in test4040996()
334 pdt->setEndRule(UCAL_OCTOBER, -1, UCAL_SUNDAY, 2 * 60 * 60 * 1000, status); in test4040996()
530 cal->get(UCAL_DAY_OF_WEEK,status) == UCAL_SUNDAY) in test4070502()
552 if (wd == UCAL_SATURDAY || wd == UCAL_SUNDAY) { in getAssociatedDate()
591 if (min != UCAL_SUNDAY || max != UCAL_SATURDAY) in dowTest()
595 if (dow != UCAL_SUNDAY) in dowTest()
1036 testCal->setFirstDayOfWeek(UCAL_SUNDAY); in test4103271()
1059 testCal->set(UCAL_DAY_OF_WEEK, (i%7) + UCAL_SUNDAY); in test4103271()
1075 1997, 1998, 1, UCAL_SUNDAY, in test4103271()
1089 testCal->setFirstDayOfWeek(UCAL_SUNDAY); in test4103271()
[all …]
Ddtfmrgts.cpp1317 new Test1684Data(2001, 8, 5,/*12,*/ 2001,8,2,UCAL_SUNDAY, "2001 08 02 Sun", NULL), in Test1684()
1320 new Test1684Data(2001, 8, 5, 2001,7,6,UCAL_SUNDAY, "2001 07 06 Sun", "2001 08 02 Sun"), in Test1684()
1323 …new Test1684Data(2001, 7,29, /*8, 5,*/ 2001,8,1,UCAL_SUNDAY, "2001 08 01 Sun", "2001 07 05 Su… in Test1684()
1330 …new Test1684Data(2001,12,30, /*2002, 1, 6,*/ 2002,1,1,UCAL_SUNDAY, "2002 01 01 Sun", "2001 12… in Test1684()
1351 cal->setFirstDayOfWeek(UCAL_SUNDAY); in Test1684()
Dtztest.cpp1621 UCAL_SUNDAY, 10 * millisPerHour,status); in TestAlternateRules()
1632 UCAL_SUNDAY, 10 * millisPerHour,status); in TestAlternateRules()
1853 UCAL_NOVEMBER, 1, UCAL_SUNDAY, // start: November, first, Sunday in TestFebruary()
1855 UCAL_FEBRUARY, -1, UCAL_SUNDAY, // end: February, last, Sunday in TestFebruary()
1868 UCAL_NOVEMBER, 1, -UCAL_SUNDAY, // start: November, 1 or after, Sunday in TestFebruary()
1870 UCAL_FEBRUARY, -29, -UCAL_SUNDAY,// end: February, 29 or before, Sunday in TestFebruary()
Dcalcasts.cpp111 enum { SUN=UCAL_SUNDAY,
Dcaltest.cpp464 for (i=UCAL_SUNDAY; i<=UCAL_SATURDAY; ++i) in TestGenericAPI()
726 … if (dow != UCAL_SUNDAY) errln("FAIL: Day of week should be SUNDAY[%d] not %d", UCAL_SUNDAY, dow); in dowTest()
727 if (min != UCAL_SUNDAY || in dowTest()
2024 cal.setFirstDayOfWeek(UCAL_SUNDAY); in TestYWOY()
3452 for (int32_t d = UCAL_SUNDAY; d <= UCAL_SATURDAY; d++) { in TestWeekData()
Dtzbdtest.cpp438 …L, 14, - UCAL_WEDNESDAY, 2 *(int32_t)ONE_HOUR, UCAL_SEPTEMBER, - 20, - UCAL_SUNDAY, 2 * (int32_t)O… in TestNewRules()
/external/icu/icu4c/source/i18n/
Dgregoimp.cpp119 dow += (dow < 0) ? (UCAL_SUNDAY + 7) : UCAL_SUNDAY; in dayToFields()
Dcalendar.cpp1558 uint8_t result = (uint8_t)(dayOfWeek + ((dayOfWeek < 0) ? (7+UCAL_SUNDAY ) : UCAL_SUNDAY)); in julianDayToDayOfWeek()
2467 value >= UCAL_SUNDAY && value <= UCAL_SATURDAY) { in setFirstDayOfWeek()
2522 if (dayOfWeek < UCAL_SUNDAY || dayOfWeek > UCAL_SATURDAY) { in getDayOfWeekType()
3670 if (dow < UCAL_SUNDAY) { in prepareGetActual()
3760 fFirstDayOfWeek = UCAL_SUNDAY; in setWeekData()
3764 fWeekendCease = UCAL_SUNDAY; in setWeekData()
Dsimpletz.cpp453 || dayOfWeek < UCAL_SUNDAY in getOffset()
Dreldatefmt.cpp580 int32_t dateSymbolIndex = (dayIndex - UDAT_ABSOLUTE_SUNDAY) + UCAL_SUNDAY; in loadWeekdayNames()
Dolsontz.cpp362 || dow < UCAL_SUNDAY in getOffset()
Dvtzone.cpp859 if (dow < UCAL_SUNDAY) { in toWallTimeRule()
862 dow = UCAL_SUNDAY; in toWallTimeRule()
/external/icu/icu4c/source/i18n/unicode/
Ducal.h459 UCAL_SUNDAY = 1, enumerator
/external/icu/icu4c/source/test/cintltst/
Dccaltst.c1138 …if ( (min != UCAL_SUNDAY || max != UCAL_SATURDAY ) && (min > val && val > max) && (val != UCAL_FR… in TestGetLimits()
1719 { UCAL_SUNDAY, UCAL_WEEKEND, 0 },
1731 { UCAL_SUNDAY, UCAL_WEEKEND, 0 },