/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/ |
D | TimeZoneRegressionTest.java | 75 z.setStartRule(Calendar.FEBRUARY, 1, Calendar.SUNDAY, 0); in Test4073215() 76 z.setEndRule(Calendar.MARCH, -1, Calendar.SUNDAY, 0); in Test4073215() 114 1997, Calendar.OCTOBER, 26, Calendar.SUNDAY, (2*60*60*1000)); in Test4084933() 116 1997, Calendar.OCTOBER, 26, Calendar.SUNDAY, (2*60*60*1000)-1); in Test4084933() 119 1997, Calendar.OCTOBER, 26, Calendar.SUNDAY, (1*60*60*1000)); in Test4084933() 121 1997, Calendar.OCTOBER, 26, Calendar.SUNDAY, (1*60*60*1000)-1); in Test4084933() 129 1997, Calendar.APRIL, 6, Calendar.SUNDAY, (2*60*60*1000)); in Test4084933() 131 1997, Calendar.APRIL, 6, Calendar.SUNDAY, (2*60*60*1000)-1); in Test4084933() 134 1997, Calendar.APRIL, 6, Calendar.SUNDAY, (1*60*60*1000)); in Test4084933() 136 1997, Calendar.APRIL, 6, Calendar.SUNDAY, (1*60*60*1000)-1); in Test4084933() [all …]
|
D | TimeZoneOffsetLocalTest.java | 124 Calendar.APRIL, 1, Calendar.SUNDAY, 2*HOUR, in TestGetOffsetAroundTransition() 125 Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*HOUR); in TestGetOffsetAroundTransition() 138 dtr = new DateTimeRule(Calendar.APRIL, 1, Calendar.SUNDAY, in TestGetOffsetAroundTransition() 145 dtr = new DateTimeRule(Calendar.OCTOBER, -1, Calendar.SUNDAY, in TestGetOffsetAroundTransition() 169 Calendar.SUNDAY, DATES[d][5]); in TestGetOffsetAroundTransition()
|
D | TimeZoneRuleTest.java | 58 Calendar.FEBRUARY, 2, Calendar.SUNDAY, 1*HOUR, SimpleTimeZone.WALL_TIME, in TestSimpleRuleBasedTimeZone() 79 dtr = new DateTimeRule(Calendar.FEBRUARY, 2, Calendar.SUNDAY, in TestSimpleRuleBasedTimeZone() 92 dtr = new DateTimeRule(Calendar.FEBRUARY, 8, Calendar.SUNDAY, true, in TestSimpleRuleBasedTimeZone() 103 dtr = new DateTimeRule(Calendar.FEBRUARY, 2, Calendar.SUNDAY, in TestSimpleRuleBasedTimeZone() 229 dtr = new DateTimeRule(Calendar.OCTOBER, -1, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone() 234 dtr = new DateTimeRule(Calendar.NOVEMBER, 1, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone() 240 dtr = new DateTimeRule(Calendar.APRIL, -1, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone() 255 dtr = new DateTimeRule(Calendar.APRIL, -1, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone() 260 dtr = new DateTimeRule(Calendar.APRIL, 1, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone() 265 dtr = new DateTimeRule(Calendar.MARCH, 8, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone() [all …]
|
D | TimeZoneTest.java | 943 Calendar.SUNDAY, 10 * millisPerHour); in TestAlternateRules() 955 Calendar.SUNDAY, 10 * millisPerHour); in TestAlternateRules() 1438 … Calendar.NOVEMBER, 1, Calendar.SUNDAY, // start: November, first, Sunday in TestFebruary() 1440 Calendar.FEBRUARY, -1, Calendar.SUNDAY, // end: February, last, Sunday in TestFebruary() 1449 … Calendar.NOVEMBER, 1, -Calendar.SUNDAY, // start: November, 1 or after, Sunday in TestFebruary() 1451 … Calendar.FEBRUARY, -29, -Calendar.SUNDAY,// end: February, 29 or before, Sunday in TestFebruary() 2027 stz.setStartRule(Calendar.JANUARY, -1, Calendar.SUNDAY, 0); in checkThawed() 2033 stz.setEndRule(Calendar.DECEMBER, 1, Calendar.SUNDAY, 0); in checkThawed() 2128 stz.setStartRule(Calendar.JANUARY, -1, Calendar.SUNDAY, 0); in checkFrozen() 2135 stz.setEndRule(Calendar.DECEMBER, 1, Calendar.SUNDAY, 0); in checkFrozen() [all …]
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneRegressionTest.java | 72 z.setStartRule(Calendar.FEBRUARY, 1, Calendar.SUNDAY, 0); in Test4073215() 73 z.setEndRule(Calendar.MARCH, -1, Calendar.SUNDAY, 0); in Test4073215() 111 1997, Calendar.OCTOBER, 26, Calendar.SUNDAY, (2*60*60*1000)); in Test4084933() 113 1997, Calendar.OCTOBER, 26, Calendar.SUNDAY, (2*60*60*1000)-1); in Test4084933() 116 1997, Calendar.OCTOBER, 26, Calendar.SUNDAY, (1*60*60*1000)); in Test4084933() 118 1997, Calendar.OCTOBER, 26, Calendar.SUNDAY, (1*60*60*1000)-1); in Test4084933() 126 1997, Calendar.APRIL, 6, Calendar.SUNDAY, (2*60*60*1000)); in Test4084933() 128 1997, Calendar.APRIL, 6, Calendar.SUNDAY, (2*60*60*1000)-1); in Test4084933() 131 1997, Calendar.APRIL, 6, Calendar.SUNDAY, (1*60*60*1000)); in Test4084933() 133 1997, Calendar.APRIL, 6, Calendar.SUNDAY, (1*60*60*1000)-1); in Test4084933() [all …]
|
D | TimeZoneOffsetLocalTest.java | 122 Calendar.APRIL, 1, Calendar.SUNDAY, 2*HOUR, in TestGetOffsetAroundTransition() 123 Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*HOUR); in TestGetOffsetAroundTransition() 136 dtr = new DateTimeRule(Calendar.APRIL, 1, Calendar.SUNDAY, in TestGetOffsetAroundTransition() 143 dtr = new DateTimeRule(Calendar.OCTOBER, -1, Calendar.SUNDAY, in TestGetOffsetAroundTransition() 167 Calendar.SUNDAY, DATES[d][5]); in TestGetOffsetAroundTransition()
|
D | TimeZoneRuleTest.java | 56 Calendar.FEBRUARY, 2, Calendar.SUNDAY, 1*HOUR, SimpleTimeZone.WALL_TIME, in TestSimpleRuleBasedTimeZone() 77 dtr = new DateTimeRule(Calendar.FEBRUARY, 2, Calendar.SUNDAY, in TestSimpleRuleBasedTimeZone() 90 dtr = new DateTimeRule(Calendar.FEBRUARY, 8, Calendar.SUNDAY, true, in TestSimpleRuleBasedTimeZone() 101 dtr = new DateTimeRule(Calendar.FEBRUARY, 2, Calendar.SUNDAY, in TestSimpleRuleBasedTimeZone() 227 dtr = new DateTimeRule(Calendar.OCTOBER, -1, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone() 232 dtr = new DateTimeRule(Calendar.NOVEMBER, 1, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone() 238 dtr = new DateTimeRule(Calendar.APRIL, -1, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone() 253 dtr = new DateTimeRule(Calendar.APRIL, -1, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone() 258 dtr = new DateTimeRule(Calendar.APRIL, 1, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone() 263 dtr = new DateTimeRule(Calendar.MARCH, 8, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone() [all …]
|
D | TimeZoneTest.java | 939 Calendar.SUNDAY, 10 * millisPerHour); in TestAlternateRules() 951 Calendar.SUNDAY, 10 * millisPerHour); in TestAlternateRules() 1410 … Calendar.NOVEMBER, 1, Calendar.SUNDAY, // start: November, first, Sunday in TestFebruary() 1412 Calendar.FEBRUARY, -1, Calendar.SUNDAY, // end: February, last, Sunday in TestFebruary() 1421 … Calendar.NOVEMBER, 1, -Calendar.SUNDAY, // start: November, 1 or after, Sunday in TestFebruary() 1423 … Calendar.FEBRUARY, -29, -Calendar.SUNDAY,// end: February, 29 or before, Sunday in TestFebruary() 2041 stz.setStartRule(Calendar.JANUARY, -1, Calendar.SUNDAY, 0); in checkThawed() 2047 stz.setEndRule(Calendar.DECEMBER, 1, Calendar.SUNDAY, 0); in checkThawed() 2142 stz.setStartRule(Calendar.JANUARY, -1, Calendar.SUNDAY, 0); in checkFrozen() 2149 stz.setEndRule(Calendar.DECEMBER, 1, Calendar.SUNDAY, 0); in checkFrozen() [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/data/ |
D | HolidayBundle_en_US.java | 31 … new SimpleHoliday(Calendar.MAY, 8, Calendar.SUNDAY, "Mother's Day", 1914), 36 … new SimpleHoliday(Calendar.JUNE, 15, Calendar.SUNDAY, "Father's Day", 1956),
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/data/ |
D | HolidayBundle_en_US.java | 35 … new SimpleHoliday(Calendar.MAY, 8, Calendar.SUNDAY, "Mother's Day", 1914), 40 … new SimpleHoliday(Calendar.JUNE, 15, Calendar.SUNDAY, "Father's Day", 1956),
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
D | RelativeDateTimeFormatterTest.java | 382 {Direction.NEXT, AbsoluteUnit.SUNDAY, "next Sunday"}, in TestRelativeDateWithoutQuantity() 397 {Direction.LAST, AbsoluteUnit.SUNDAY, "last Sunday"}, in TestRelativeDateWithoutQuantity() 410 {Direction.THIS, AbsoluteUnit.SUNDAY, "this Sunday"}, in TestRelativeDateWithoutQuantity() 425 {Direction.PLAIN, AbsoluteUnit.SUNDAY, "Sunday"}, in TestRelativeDateWithoutQuantity() 453 {Direction.NEXT, AbsoluteUnit.SUNDAY, "Next Sunday"}, in TestRelativeDateWithoutQuantityCaps() 468 {Direction.LAST, AbsoluteUnit.SUNDAY, "Last Sunday"}, in TestRelativeDateWithoutQuantityCaps() 481 {Direction.THIS, AbsoluteUnit.SUNDAY, "This Sunday"}, in TestRelativeDateWithoutQuantityCaps() 494 {Direction.PLAIN, AbsoluteUnit.SUNDAY, "Sunday"}, in TestRelativeDateWithoutQuantityCaps() 529 {Direction.NEXT, AbsoluteUnit.SUNDAY, "next Sun."}, in TestRelativeDateWithoutQuantityShort() 546 {Direction.LAST, AbsoluteUnit.SUNDAY, "last Sun."}, in TestRelativeDateWithoutQuantityShort() [all …]
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | RelativeDateTimeFormatterTest.java | 379 {Direction.NEXT, AbsoluteUnit.SUNDAY, "next Sunday"}, in TestRelativeDateWithoutQuantity() 394 {Direction.LAST, AbsoluteUnit.SUNDAY, "last Sunday"}, in TestRelativeDateWithoutQuantity() 407 {Direction.THIS, AbsoluteUnit.SUNDAY, "this Sunday"}, in TestRelativeDateWithoutQuantity() 422 {Direction.PLAIN, AbsoluteUnit.SUNDAY, "Sunday"}, in TestRelativeDateWithoutQuantity() 450 {Direction.NEXT, AbsoluteUnit.SUNDAY, "Next Sunday"}, in TestRelativeDateWithoutQuantityCaps() 465 {Direction.LAST, AbsoluteUnit.SUNDAY, "Last Sunday"}, in TestRelativeDateWithoutQuantityCaps() 478 {Direction.THIS, AbsoluteUnit.SUNDAY, "This Sunday"}, in TestRelativeDateWithoutQuantityCaps() 491 {Direction.PLAIN, AbsoluteUnit.SUNDAY, "Sunday"}, in TestRelativeDateWithoutQuantityCaps() 526 {Direction.NEXT, AbsoluteUnit.SUNDAY, "next Sun."}, in TestRelativeDateWithoutQuantityShort() 543 {Direction.LAST, AbsoluteUnit.SUNDAY, "last Sun."}, in TestRelativeDateWithoutQuantityShort() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | RelativeDateTimeFormatter.java | 164 SUNDAY, enumConstant 324 SUNDAY, enumConstant 755 if ((direction == Direction.PLAIN) && (AbsoluteUnit.SUNDAY.ordinal() <= unit.ordinal() && in formatAbsoluteImpl() 758 … int dateSymbolsDayOrdinal = (unit.ordinal() - AbsoluteUnit.SUNDAY.ordinal()) + Calendar.SUNDAY; in formatAbsoluteImpl() 851 case SUNDAY: absunit = AbsoluteUnit.SUNDAY; break; in formatRelativeImpl() 1112 SUNDAY(null, AbsoluteUnit.SUNDAY), enumConstant 1135 return SUNDAY; in orNullFromString()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | RelativeDateTimeFormatter.java | 179 SUNDAY, enumConstant 368 SUNDAY, enumConstant 839 if ((direction == Direction.PLAIN) && (AbsoluteUnit.SUNDAY.ordinal() <= unit.ordinal() && in formatAbsoluteImpl() 842 … int dateSymbolsDayOrdinal = (unit.ordinal() - AbsoluteUnit.SUNDAY.ordinal()) + Calendar.SUNDAY; in formatAbsoluteImpl() 937 case SUNDAY: absunit = AbsoluteUnit.SUNDAY; break; in formatRelativeImpl() 1202 SUNDAY(null, AbsoluteUnit.SUNDAY), enumConstant 1225 return SUNDAY; in orNullFromString()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/serializable/ |
D | SerializableTestUtility.java | 229 … new DateTimeRule(Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*HOUR, DateTimeRule.WALL_TIME), 233 … new DateTimeRule(Calendar.NOVEMBER, 1, Calendar.SUNDAY, true, 2*HOUR, DateTimeRule.WALL_TIME), 237 … new DateTimeRule(Calendar.APRIL, -1, Calendar.SUNDAY, 2*HOUR, DateTimeRule.WALL_TIME), 249 … new DateTimeRule(Calendar.APRIL, -1, Calendar.SUNDAY, 2*HOUR, DateTimeRule.WALL_TIME), 253 … new DateTimeRule(Calendar.APRIL, 1, Calendar.SUNDAY, true, 2*HOUR, DateTimeRule.WALL_TIME), 257 … new DateTimeRule(Calendar.MARCH, 8, Calendar.SUNDAY, true, 2*HOUR, DateTimeRule.WALL_TIME), 292 … rules[1] = new DateTimeRule(Calendar.MARCH, 2, Calendar.SUNDAY, 2*HOUR, DateTimeRule.WALL_TIME); in getTestObjects()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
D | SerializableTestUtility.java | 228 … new DateTimeRule(Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*HOUR, DateTimeRule.WALL_TIME), 232 … new DateTimeRule(Calendar.NOVEMBER, 1, Calendar.SUNDAY, true, 2*HOUR, DateTimeRule.WALL_TIME), 236 … new DateTimeRule(Calendar.APRIL, -1, Calendar.SUNDAY, 2*HOUR, DateTimeRule.WALL_TIME), 248 … new DateTimeRule(Calendar.APRIL, -1, Calendar.SUNDAY, 2*HOUR, DateTimeRule.WALL_TIME), 252 … new DateTimeRule(Calendar.APRIL, 1, Calendar.SUNDAY, true, 2*HOUR, DateTimeRule.WALL_TIME), 256 … new DateTimeRule(Calendar.MARCH, 8, Calendar.SUNDAY, true, 2*HOUR, DateTimeRule.WALL_TIME), 291 … rules[1] = new DateTimeRule(Calendar.MARCH, 2, Calendar.SUNDAY, 2*HOUR, DateTimeRule.WALL_TIME); in getTestObjects()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/ |
D | CalendarRegressionTest.java | 165 pdt.setStartRule(Calendar.APRIL, 1, Calendar.SUNDAY, 2 * 60 * 60 * 1000); in Test4040996() 166 pdt.setEndRule(Calendar.OCTOBER, -1, Calendar.SUNDAY, 2 * 60 * 60 * 1000); in Test4040996() 324 cal.get(Calendar.DAY_OF_WEEK) == Calendar.SUNDAY) in Test4070502() 344 if (wd == Calendar.SATURDAY || wd == Calendar.SUNDAY) { in getAssociatedDate() 371 if (min != Calendar.SUNDAY || max != Calendar.SATURDAY) in dowTest() 375 if (dow != Calendar.SUNDAY) in dowTest() 647 testCal.setFirstDayOfWeek(Calendar.SUNDAY); in Test4103271() 668 testCal.set(Calendar.DAY_OF_WEEK, (i%7) + Calendar.SUNDAY); in Test4103271() 693 new Integer(1998), new Integer(1), new Integer(Calendar.SUNDAY), in Test4103271() 703 testCal.setFirstDayOfWeek(Calendar.SUNDAY); in Test4103271() [all …]
|
D | IBMCalendarTest.java | 94 Calendar.SUNDAY, Calendar.WEEKEND, in TestWeekend() 106 Calendar.SUNDAY, Calendar.WEEKEND, in TestWeekend() 588 cal.setFirstDayOfWeek(Calendar.SUNDAY); in TestWeekShift() 708 new TestData(2001, 8, 5,/*12,*/ 2001,8,2,Calendar.SUNDAY, "2001 08 02 Sun", null), in TestJB1684() 711 … new TestData(2001, 8, 5, 2001,7,6,Calendar.SUNDAY, "2001 07 06 Sun", "2001 08 02 Sun"), in TestJB1684() 714 …new TestData(2001, 7,29, /*8, 5,*/ 2001,8,1,Calendar.SUNDAY, "2001 08 01 Sun", "2001 07 05 Su… in TestJB1684() 721 …new TestData(2001,12,30, /*2002, 1, 6,*/ 2002,1,1,Calendar.SUNDAY, "2002 01 01 Sun", "2001 12… in TestJB1684() 731 cal.setFirstDayOfWeek(Calendar.SUNDAY); in TestJB1684() 925 for (int i=Calendar.SUNDAY; i<=Calendar.SATURDAY; ++i) { in TestCoverage() 1788 for (int d = Calendar.SUNDAY; d <= Calendar.SATURDAY; d++) { in TestWeekData()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | CalendarRegressionTest.java | 162 pdt.setStartRule(Calendar.APRIL, 1, Calendar.SUNDAY, 2 * 60 * 60 * 1000); in Test4040996() 163 pdt.setEndRule(Calendar.OCTOBER, -1, Calendar.SUNDAY, 2 * 60 * 60 * 1000); in Test4040996() 321 cal.get(Calendar.DAY_OF_WEEK) == Calendar.SUNDAY) in Test4070502() 341 if (wd == Calendar.SATURDAY || wd == Calendar.SUNDAY) { in getAssociatedDate() 368 if (min != Calendar.SUNDAY || max != Calendar.SATURDAY) in dowTest() 372 if (dow != Calendar.SUNDAY) in dowTest() 644 testCal.setFirstDayOfWeek(Calendar.SUNDAY); in Test4103271() 665 testCal.set(Calendar.DAY_OF_WEEK, (i%7) + Calendar.SUNDAY); in Test4103271() 690 new Integer(1998), new Integer(1), new Integer(Calendar.SUNDAY), in Test4103271() 700 testCal.setFirstDayOfWeek(Calendar.SUNDAY); in Test4103271() [all …]
|
D | IBMCalendarTest.java | 94 Calendar.SUNDAY, Calendar.WEEKEND, in TestWeekend() 106 Calendar.SUNDAY, Calendar.WEEKEND, in TestWeekend() 588 cal.setFirstDayOfWeek(Calendar.SUNDAY); in TestWeekShift() 708 new TestData(2001, 8, 5,/*12,*/ 2001,8,2,Calendar.SUNDAY, "2001 08 02 Sun", null), in TestJB1684() 711 … new TestData(2001, 8, 5, 2001,7,6,Calendar.SUNDAY, "2001 07 06 Sun", "2001 08 02 Sun"), in TestJB1684() 714 …new TestData(2001, 7,29, /*8, 5,*/ 2001,8,1,Calendar.SUNDAY, "2001 08 01 Sun", "2001 07 05 Su… in TestJB1684() 721 …new TestData(2001,12,30, /*2002, 1, 6,*/ 2002,1,1,Calendar.SUNDAY, "2002 01 01 Sun", "2001 12… in TestJB1684() 731 cal.setFirstDayOfWeek(Calendar.SUNDAY); in TestJB1684() 925 for (int i=Calendar.SUNDAY; i<=Calendar.SATURDAY; ++i) { in TestCoverage() 1788 for (int d = Calendar.SUNDAY; d <= Calendar.SATURDAY; d++) { in TestWeekData()
|
D | CompatibilityTest.java | 327 for (i=Calendar.SUNDAY; i<=Calendar.SATURDAY; ++i) { in TestGenericAPI() 486 if (dow != Calendar.SUNDAY) { in dowTest() 489 if (min != Calendar.SUNDAY || max != Calendar.SATURDAY) errln("FAIL: Min/max bad"); in dowTest() 1054 cal.setFirstDayOfWeek(Calendar.SUNDAY); in TestActualMinMax()
|
/third_party/python/Lib/test/ |
D | test_calendar.py | 508 calendar.setfirstweekday(calendar.SUNDAY) 509 self.assertEqual(calendar.firstweekday(), calendar.SUNDAY) 697 firstweekday = calendar.SUNDAY
|
/third_party/icu/icu4c/source/i18n/ |
D | reldatefmt.cpp | 230 SUNDAY, enumerator 258 case SUNDAY: in relUnitFromGeneric() 290 case SUNDAY: in absUnitFromGeneric() 393 return SUNDAY; in unitOrNegativeFromString()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | reldatefmt.cpp | 244 SUNDAY, enumerator 272 case SUNDAY: in relUnitFromGeneric() 304 case SUNDAY: in absUnitFromGeneric() 407 return SUNDAY; in unitOrNegativeFromString()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | reldatefmt.cpp | 230 SUNDAY, enumerator 258 case SUNDAY: in relUnitFromGeneric() 290 case SUNDAY: in absUnitFromGeneric() 393 return SUNDAY; in unitOrNegativeFromString()
|