/external/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 | 121 Calendar.APRIL, 1, Calendar.SUNDAY, 2*HOUR, in TestGetOffsetAroundTransition() 122 Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*HOUR); in TestGetOffsetAroundTransition() 135 dtr = new DateTimeRule(Calendar.APRIL, 1, Calendar.SUNDAY, in TestGetOffsetAroundTransition() 142 dtr = new DateTimeRule(Calendar.OCTOBER, -1, Calendar.SUNDAY, in TestGetOffsetAroundTransition() 166 Calendar.SUNDAY, DATES[d][5]); in TestGetOffsetAroundTransition()
|
D | TimeZoneRuleTest.java | 55 Calendar.FEBRUARY, 2, Calendar.SUNDAY, 1*HOUR, SimpleTimeZone.WALL_TIME, in TestSimpleRuleBasedTimeZone() 76 dtr = new DateTimeRule(Calendar.FEBRUARY, 2, Calendar.SUNDAY, in TestSimpleRuleBasedTimeZone() 89 dtr = new DateTimeRule(Calendar.FEBRUARY, 8, Calendar.SUNDAY, true, in TestSimpleRuleBasedTimeZone() 100 dtr = new DateTimeRule(Calendar.FEBRUARY, 2, Calendar.SUNDAY, in TestSimpleRuleBasedTimeZone() 226 dtr = new DateTimeRule(Calendar.OCTOBER, -1, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone() 231 dtr = new DateTimeRule(Calendar.NOVEMBER, 1, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone() 237 dtr = new DateTimeRule(Calendar.APRIL, -1, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone() 252 dtr = new DateTimeRule(Calendar.APRIL, -1, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone() 257 dtr = new DateTimeRule(Calendar.APRIL, 1, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone() 262 dtr = new DateTimeRule(Calendar.MARCH, 8, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone() [all …]
|
D | TimeZoneTest.java | 940 Calendar.SUNDAY, 10 * millisPerHour); in TestAlternateRules() 952 Calendar.SUNDAY, 10 * millisPerHour); in TestAlternateRules() 1435 … Calendar.NOVEMBER, 1, Calendar.SUNDAY, // start: November, first, Sunday in TestFebruary() 1437 Calendar.FEBRUARY, -1, Calendar.SUNDAY, // end: February, last, Sunday in TestFebruary() 1446 … Calendar.NOVEMBER, 1, -Calendar.SUNDAY, // start: November, 1 or after, Sunday in TestFebruary() 1448 … Calendar.FEBRUARY, -29, -Calendar.SUNDAY,// end: February, 29 or before, Sunday in TestFebruary() 2024 stz.setStartRule(Calendar.JANUARY, -1, Calendar.SUNDAY, 0); in checkThawed() 2030 stz.setEndRule(Calendar.DECEMBER, 1, Calendar.SUNDAY, 0); in checkThawed() 2125 stz.setStartRule(Calendar.JANUARY, -1, Calendar.SUNDAY, 0); in checkFrozen() 2132 stz.setEndRule(Calendar.DECEMBER, 1, Calendar.SUNDAY, 0); in checkFrozen() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/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 …]
|
/external/icu/android_icu4j/src/main/java/android/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),
|
/external/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),
|
/external/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 …]
|
/external/icu/android_icu4j/src/main/tests/android/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 …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | RelativeDateTimeFormatter.java | 167 SUNDAY, enumConstant 328 SUNDAY, enumConstant 791 if ((direction == Direction.PLAIN) && (AbsoluteUnit.SUNDAY.ordinal() <= unit.ordinal() && in formatAbsoluteImpl() 794 … int dateSymbolsDayOrdinal = (unit.ordinal() - AbsoluteUnit.SUNDAY.ordinal()) + Calendar.SUNDAY; in formatAbsoluteImpl() 888 case SUNDAY: absunit = AbsoluteUnit.SUNDAY; break; in formatRelativeImpl() 1155 SUNDAY(null, AbsoluteUnit.SUNDAY), enumConstant 1178 return SUNDAY; in orNullFromString()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | RelativeDateTimeFormatter.java | 182 SUNDAY, enumConstant 374 SUNDAY, enumConstant 865 if ((direction == Direction.PLAIN) && (AbsoluteUnit.SUNDAY.ordinal() <= unit.ordinal() && in formatAbsoluteImpl() 868 … int dateSymbolsDayOrdinal = (unit.ordinal() - AbsoluteUnit.SUNDAY.ordinal()) + Calendar.SUNDAY; in formatAbsoluteImpl() 964 case SUNDAY: absunit = AbsoluteUnit.SUNDAY; break; in formatRelativeImpl() 1235 SUNDAY(null, AbsoluteUnit.SUNDAY), enumConstant 1258 return SUNDAY; in orNullFromString()
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
D | Calendar.java | 941 public final static int SUNDAY = 1; field in Calendar 2281 if (dayOfWeek < SUNDAY || dayOfWeek > 7) { in getDayOfWeekType() 2283 } else if (dayOfWeek == SATURDAY || dayOfWeek == SUNDAY) { in getDayOfWeekType() 2339 if (dow == SATURDAY || dow == SUNDAY) { in isWeekend()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
D | SerializableTestUtility.java | 226 … new DateTimeRule(Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*HOUR, DateTimeRule.WALL_TIME), 230 … new DateTimeRule(Calendar.NOVEMBER, 1, Calendar.SUNDAY, true, 2*HOUR, DateTimeRule.WALL_TIME), 234 … new DateTimeRule(Calendar.APRIL, -1, Calendar.SUNDAY, 2*HOUR, DateTimeRule.WALL_TIME), 246 … new DateTimeRule(Calendar.APRIL, -1, Calendar.SUNDAY, 2*HOUR, DateTimeRule.WALL_TIME), 250 … new DateTimeRule(Calendar.APRIL, 1, Calendar.SUNDAY, true, 2*HOUR, DateTimeRule.WALL_TIME), 254 … new DateTimeRule(Calendar.MARCH, 8, Calendar.SUNDAY, true, 2*HOUR, DateTimeRule.WALL_TIME), 289 … rules[1] = new DateTimeRule(Calendar.MARCH, 2, Calendar.SUNDAY, 2*HOUR, DateTimeRule.WALL_TIME); in getTestObjects()
|
/external/icu/android_icu4j/src/main/tests/android/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()
|
/external/python/cpython2/Lib/test/ |
D | test_calendar.py | 232 calendar.setfirstweekday(calendar.SUNDAY) 233 self.assertEqual(calendar.firstweekday(), calendar.SUNDAY) 390 firstweekday = calendar.SUNDAY
|
/external/icu/android_icu4j/src/main/tests/android/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() 590 cal.setFirstDayOfWeek(Calendar.SUNDAY); in TestWeekShift() 710 new TestData(2001, 8, 5,/*12,*/ 2001,8,2,Calendar.SUNDAY, "2001 08 02 Sun", null), in TestJB1684() 713 … new TestData(2001, 8, 5, 2001,7,6,Calendar.SUNDAY, "2001 07 06 Sun", "2001 08 02 Sun"), in TestJB1684() 716 …new TestData(2001, 7,29, /*8, 5,*/ 2001,8,1,Calendar.SUNDAY, "2001 08 01 Sun", "2001 07 05 Su… in TestJB1684() 723 …new TestData(2001,12,30, /*2002, 1, 6,*/ 2002,1,1,Calendar.SUNDAY, "2002 01 01 Sun", "2001 12… in TestJB1684() 733 cal.setFirstDayOfWeek(Calendar.SUNDAY); in TestJB1684() 927 for (int i=Calendar.SUNDAY; i<=Calendar.SATURDAY; ++i) { in TestCoverage() 1792 for (int d = Calendar.SUNDAY; d <= Calendar.SATURDAY; d++) { in TestWeekData()
|
/external/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 | 91 Calendar.SUNDAY, Calendar.WEEKEND, in TestWeekend() 103 Calendar.SUNDAY, Calendar.WEEKEND, in TestWeekend() 587 cal.setFirstDayOfWeek(Calendar.SUNDAY); in TestWeekShift() 707 new TestData(2001, 8, 5,/*12,*/ 2001,8,2,Calendar.SUNDAY, "2001 08 02 Sun", null), in TestJB1684() 710 … new TestData(2001, 8, 5, 2001,7,6,Calendar.SUNDAY, "2001 07 06 Sun", "2001 08 02 Sun"), in TestJB1684() 713 …new TestData(2001, 7,29, /*8, 5,*/ 2001,8,1,Calendar.SUNDAY, "2001 08 01 Sun", "2001 07 05 Su… in TestJB1684() 720 …new TestData(2001,12,30, /*2002, 1, 6,*/ 2002,1,1,Calendar.SUNDAY, "2002 01 01 Sun", "2001 12… in TestJB1684() 730 cal.setFirstDayOfWeek(Calendar.SUNDAY); in TestJB1684() 924 for (int i=Calendar.SUNDAY; i<=Calendar.SATURDAY; ++i) { in TestCoverage() 1789 for (int d = Calendar.SUNDAY; d <= Calendar.SATURDAY; d++) { in TestWeekData()
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
D | SIPDate.java | 193 case Calendar.SUNDAY : in SIPDate() 396 wkday = Calendar.SUNDAY; in setWkday()
|
/external/python/cpython3/Lib/test/ |
D | test_calendar.py | 508 calendar.setfirstweekday(calendar.SUNDAY) 509 self.assertEqual(calendar.firstweekday(), calendar.SUNDAY) 673 firstweekday = calendar.SUNDAY
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
D | HeaderParser.java | 68 return Calendar.SUNDAY; in wkday()
|