Home
last modified time | relevance | path

Searched refs:UCAL_SUNDAY (Results 1 – 16 of 16) 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.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.cpp1314 new Test1684Data(2001, 8, 5,/*12,*/ 2001,8,2,UCAL_SUNDAY, "2001 08 02 Sun", NULL), in Test1684()
1317 new Test1684Data(2001, 8, 5, 2001,7,6,UCAL_SUNDAY, "2001 07 06 Sun", "2001 08 02 Sun"), in Test1684()
1320 …new Test1684Data(2001, 7,29, /*8, 5,*/ 2001,8,1,UCAL_SUNDAY, "2001 08 01 Sun", "2001 07 05 Su… in Test1684()
1327 …new Test1684Data(2001,12,30, /*2002, 1, 6,*/ 2002,1,1,UCAL_SUNDAY, "2002 01 01 Sun", "2001 12… in Test1684()
1348 cal->setFirstDayOfWeek(UCAL_SUNDAY); in Test1684()
Dtztest.cpp1619 UCAL_SUNDAY, 10 * millisPerHour,status); in TestAlternateRules()
1630 UCAL_SUNDAY, 10 * millisPerHour,status); in TestAlternateRules()
1851 UCAL_NOVEMBER, 1, UCAL_SUNDAY, // start: November, first, Sunday in TestFebruary()
1853 UCAL_FEBRUARY, -1, UCAL_SUNDAY, // end: February, last, Sunday in TestFebruary()
1866 UCAL_NOVEMBER, 1, -UCAL_SUNDAY, // start: November, 1 or after, Sunday in TestFebruary()
1868 UCAL_FEBRUARY, -29, -UCAL_SUNDAY,// end: February, 29 or before, Sunday in TestFebruary()
Dcalcasts.cpp109 enum { SUN=UCAL_SUNDAY,
Dcaltest.cpp455 for (i=UCAL_SUNDAY; i<=UCAL_SATURDAY; ++i) in TestGenericAPI()
717 … if (dow != UCAL_SUNDAY) errln("FAIL: Day of week should be SUNDAY[%d] not %d", UCAL_SUNDAY, dow); in dowTest()
718 if (min != UCAL_SUNDAY || in dowTest()
2015 cal.setFirstDayOfWeek(UCAL_SUNDAY); in TestYWOY()
3443 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/icu/icu4c/source/i18n/
Dgregoimp.cpp121 dow += (dow < 0) ? (UCAL_SUNDAY + 7) : UCAL_SUNDAY; in dayToFields()
Dcalendar.cpp1560 uint8_t result = (uint8_t)(dayOfWeek + ((dayOfWeek < 0) ? (7+UCAL_SUNDAY ) : UCAL_SUNDAY)); in julianDayToDayOfWeek()
2468 value >= UCAL_SUNDAY && value <= UCAL_SATURDAY) { in setFirstDayOfWeek()
2523 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.cpp451 || dayOfWeek < UCAL_SUNDAY in getOffset()
Dolsontz.cpp360 || dow < UCAL_SUNDAY in getOffset()
Dvtzone.cpp857 if (dow < UCAL_SUNDAY) { in toWallTimeRule()
860 dow = UCAL_SUNDAY; in toWallTimeRule()
/external/icu/icu4c/source/i18n/unicode/
Ducal.h455 UCAL_SUNDAY = 1, enumerator
/external/icu/icu4c/source/test/cintltst/
Dccaltst.c1130 …if ( (min != UCAL_SUNDAY || max != UCAL_SATURDAY ) && (min > val && val > max) && (val != UCAL_FR… in TestGetLimits()
1713 { UCAL_SUNDAY, UCAL_WEEKEND, 0 },
1725 { UCAL_SUNDAY, UCAL_WEEKEND, 0 },