Home
last modified time | relevance | path

Searched refs:UCAL_SUNDAY (Results 1 – 18 of 18) 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.cpp157 UCAL_FEBRUARY, 2, UCAL_SUNDAY, 1*HOUR, SimpleTimeZone::WALL_TIME, in TestSimpleRuleBasedTimeZone()
183 dtr = new DateTimeRule(UCAL_FEBRUARY, 2, UCAL_SUNDAY, in TestSimpleRuleBasedTimeZone()
206 dtr = new DateTimeRule(UCAL_FEBRUARY, 8, UCAL_SUNDAY, true, in TestSimpleRuleBasedTimeZone()
227 dtr = new DateTimeRule(UCAL_FEBRUARY, 2, UCAL_SUNDAY, in TestSimpleRuleBasedTimeZone()
445 dtr = new DateTimeRule(UCAL_OCTOBER, -1, UCAL_SUNDAY, in TestHistoricalRuleBasedTimeZone()
453 dtr = new DateTimeRule(UCAL_NOVEMBER, 1, UCAL_SUNDAY, in TestHistoricalRuleBasedTimeZone()
462 dtr = new DateTimeRule(UCAL_APRIL, -1, UCAL_SUNDAY, in TestHistoricalRuleBasedTimeZone()
486 dtr = new DateTimeRule(UCAL_APRIL, -1, UCAL_SUNDAY, in TestHistoricalRuleBasedTimeZone()
494 dtr = new DateTimeRule(UCAL_APRIL, 1, UCAL_SUNDAY, in TestHistoricalRuleBasedTimeZone()
502 dtr = new DateTimeRule(UCAL_MARCH, 8, UCAL_SUNDAY, in TestHistoricalRuleBasedTimeZone()
[all …]
Dcalregts.cpp336 pdt->setStartRule(UCAL_APRIL, 1, UCAL_SUNDAY, 2 * 60 * 60 * 1000, status); in test4040996()
337 pdt->setEndRule(UCAL_OCTOBER, -1, UCAL_SUNDAY, 2 * 60 * 60 * 1000, status); in test4040996()
533 cal->get(UCAL_DAY_OF_WEEK,status) == UCAL_SUNDAY) in test4070502()
555 if (wd == UCAL_SATURDAY || wd == UCAL_SUNDAY) { in getAssociatedDate()
594 if (min != UCAL_SUNDAY || max != UCAL_SATURDAY) in dowTest()
598 if (dow != UCAL_SUNDAY) in dowTest()
1039 testCal->setFirstDayOfWeek(UCAL_SUNDAY); in test4103271()
1062 testCal->set(UCAL_DAY_OF_WEEK, (i%7) + UCAL_SUNDAY); in test4103271()
1078 1997, 1998, 1, UCAL_SUNDAY, in test4103271()
1092 testCal->setFirstDayOfWeek(UCAL_SUNDAY); in test4103271()
[all …]
Ddtfmrgts.cpp1318 new Test1684Data(2001, 8, 5,/*12,*/ 2001,8,2,UCAL_SUNDAY, "2001 08 02 Sun", NULL), in Test1684()
1321 new Test1684Data(2001, 8, 5, 2001,7,6,UCAL_SUNDAY, "2001 07 06 Sun", "2001 08 02 Sun"), in Test1684()
1324 …new Test1684Data(2001, 7,29, /*8, 5,*/ 2001,8,1,UCAL_SUNDAY, "2001 08 01 Sun", "2001 07 05 Su… in Test1684()
1331 …new Test1684Data(2001,12,30, /*2002, 1, 6,*/ 2002,1,1,UCAL_SUNDAY, "2002 01 01 Sun", "2001 12… in Test1684()
1352 cal->setFirstDayOfWeek(UCAL_SUNDAY); in Test1684()
Dtztest.cpp1646 UCAL_SUNDAY, 10 * millisPerHour,status); in TestAlternateRules()
1657 UCAL_SUNDAY, 10 * millisPerHour,status); in TestAlternateRules()
1878 UCAL_NOVEMBER, 1, UCAL_SUNDAY, // start: November, first, Sunday in TestFebruary()
1880 UCAL_FEBRUARY, -1, UCAL_SUNDAY, // end: February, last, Sunday in TestFebruary()
1893 UCAL_NOVEMBER, 1, -UCAL_SUNDAY, // start: November, 1 or after, Sunday in TestFebruary()
1895 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.cpp124 dow += (dow < 0) ? (UCAL_SUNDAY + 7) : UCAL_SUNDAY; in dayToFields()
Dcalendar.cpp1569 uint8_t result = (uint8_t)(dayOfWeek + ((dayOfWeek < 0) ? (7+UCAL_SUNDAY ) : UCAL_SUNDAY)); in julianDayToDayOfWeek()
2478 value >= UCAL_SUNDAY && value <= UCAL_SATURDAY) { in setFirstDayOfWeek()
2533 if (dayOfWeek < UCAL_SUNDAY || dayOfWeek > UCAL_SATURDAY) { in getDayOfWeekType()
3681 if (dow < UCAL_SUNDAY) { in prepareGetActual()
3771 fFirstDayOfWeek = UCAL_SUNDAY; in setWeekData()
3775 fWeekendCease = UCAL_SUNDAY; in setWeekData()
Dsimpletz.cpp453 || dayOfWeek < UCAL_SUNDAY in getOffset()
Dreldatefmt.cpp581 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/libtextclassifier/util/calendar/
Dcalendar-icu.cc43 return UCalendarDaysOfWeek::UCAL_SUNDAY; in MapToDayOfWeekOrDefault()
/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 },