/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneRegression.java | 67 z.setStartRule(Calendar.FEBRUARY, 1, Calendar.SUNDAY, 0); in Test4073215() 68 z.setEndRule(Calendar.MARCH, -1, Calendar.SUNDAY, 0); in Test4073215() 105 1997, Calendar.OCTOBER, 26, Calendar.SUNDAY, (2*60*60*1000)); in Test4084933() 107 1997, Calendar.OCTOBER, 26, Calendar.SUNDAY, (2*60*60*1000)-1); in Test4084933() 110 1997, Calendar.OCTOBER, 26, Calendar.SUNDAY, (1*60*60*1000)); in Test4084933() 112 1997, Calendar.OCTOBER, 26, Calendar.SUNDAY, (1*60*60*1000)-1); in Test4084933() 120 1997, Calendar.APRIL, 6, Calendar.SUNDAY, (2*60*60*1000)); in Test4084933() 122 1997, Calendar.APRIL, 6, Calendar.SUNDAY, (2*60*60*1000)-1); in Test4084933() 125 1997, Calendar.APRIL, 6, Calendar.SUNDAY, (1*60*60*1000)); in Test4084933() 127 1997, Calendar.APRIL, 6, Calendar.SUNDAY, (1*60*60*1000)-1); in Test4084933() [all …]
|
D | TimeZoneOffsetLocalTest.java | 118 Calendar.APRIL, 1, Calendar.SUNDAY, 2*HOUR, in TestGetOffsetAroundTransition() 119 Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*HOUR); in TestGetOffsetAroundTransition() 132 dtr = new DateTimeRule(Calendar.APRIL, 1, Calendar.SUNDAY, in TestGetOffsetAroundTransition() 139 dtr = new DateTimeRule(Calendar.OCTOBER, -1, Calendar.SUNDAY, in TestGetOffsetAroundTransition() 163 Calendar.SUNDAY, DATES[d][5]); in TestGetOffsetAroundTransition()
|
D | TimeZoneRuleTest.java | 51 Calendar.FEBRUARY, 2, Calendar.SUNDAY, 1*HOUR, SimpleTimeZone.WALL_TIME, in TestSimpleRuleBasedTimeZone() 72 dtr = new DateTimeRule(Calendar.FEBRUARY, 2, Calendar.SUNDAY, in TestSimpleRuleBasedTimeZone() 85 dtr = new DateTimeRule(Calendar.FEBRUARY, 8, Calendar.SUNDAY, true, in TestSimpleRuleBasedTimeZone() 96 dtr = new DateTimeRule(Calendar.FEBRUARY, 2, Calendar.SUNDAY, in TestSimpleRuleBasedTimeZone() 221 dtr = new DateTimeRule(Calendar.OCTOBER, -1, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone() 226 dtr = new DateTimeRule(Calendar.NOVEMBER, 1, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone() 232 dtr = new DateTimeRule(Calendar.APRIL, -1, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone() 247 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.MARCH, 8, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone() [all …]
|
D | TimeZoneTest.java | 935 Calendar.SUNDAY, 10 * millisPerHour); in TestAlternateRules() 947 Calendar.SUNDAY, 10 * millisPerHour); in TestAlternateRules() 1415 … Calendar.NOVEMBER, 1, Calendar.SUNDAY, // start: November, first, Sunday in TestFebruary() 1417 Calendar.FEBRUARY, -1, Calendar.SUNDAY, // end: February, last, Sunday in TestFebruary() 1426 … Calendar.NOVEMBER, 1, -Calendar.SUNDAY, // start: November, 1 or after, Sunday in TestFebruary() 1428 … Calendar.FEBRUARY, -29, -Calendar.SUNDAY,// end: February, 29 or before, Sunday in TestFebruary() 1992 stz.setStartRule(Calendar.JANUARY, -1, Calendar.SUNDAY, 0); in checkThawed() 1998 stz.setEndRule(Calendar.DECEMBER, 1, Calendar.SUNDAY, 0); in checkThawed() 2093 stz.setStartRule(Calendar.JANUARY, -1, Calendar.SUNDAY, 0); in checkFrozen() 2100 stz.setEndRule(Calendar.DECEMBER, 1, Calendar.SUNDAY, 0); in checkFrozen() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneRegression.java | 71 z.setStartRule(Calendar.FEBRUARY, 1, Calendar.SUNDAY, 0); in Test4073215() 72 z.setEndRule(Calendar.MARCH, -1, Calendar.SUNDAY, 0); in Test4073215() 109 1997, Calendar.OCTOBER, 26, Calendar.SUNDAY, (2*60*60*1000)); in Test4084933() 111 1997, Calendar.OCTOBER, 26, Calendar.SUNDAY, (2*60*60*1000)-1); in Test4084933() 114 1997, Calendar.OCTOBER, 26, Calendar.SUNDAY, (1*60*60*1000)); in Test4084933() 116 1997, Calendar.OCTOBER, 26, Calendar.SUNDAY, (1*60*60*1000)-1); in Test4084933() 124 1997, Calendar.APRIL, 6, Calendar.SUNDAY, (2*60*60*1000)); in Test4084933() 126 1997, Calendar.APRIL, 6, Calendar.SUNDAY, (2*60*60*1000)-1); in Test4084933() 129 1997, Calendar.APRIL, 6, Calendar.SUNDAY, (1*60*60*1000)); in Test4084933() 131 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 | 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() 225 dtr = new DateTimeRule(Calendar.OCTOBER, -1, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone() 230 dtr = new DateTimeRule(Calendar.NOVEMBER, 1, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone() 236 dtr = new DateTimeRule(Calendar.APRIL, -1, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone() 251 dtr = new DateTimeRule(Calendar.APRIL, -1, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone() 256 dtr = new DateTimeRule(Calendar.APRIL, 1, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone() 261 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() 1419 … Calendar.NOVEMBER, 1, Calendar.SUNDAY, // start: November, first, Sunday in TestFebruary() 1421 Calendar.FEBRUARY, -1, Calendar.SUNDAY, // end: February, last, Sunday in TestFebruary() 1430 … Calendar.NOVEMBER, 1, -Calendar.SUNDAY, // start: November, 1 or after, Sunday in TestFebruary() 1432 … Calendar.FEBRUARY, -29, -Calendar.SUNDAY,// end: February, 29 or before, Sunday in TestFebruary() 1996 stz.setStartRule(Calendar.JANUARY, -1, Calendar.SUNDAY, 0); in checkThawed() 2002 stz.setEndRule(Calendar.DECEMBER, 1, Calendar.SUNDAY, 0); in checkThawed() 2097 stz.setStartRule(Calendar.JANUARY, -1, Calendar.SUNDAY, 0); in checkFrozen() 2104 stz.setEndRule(Calendar.DECEMBER, 1, Calendar.SUNDAY, 0); in checkFrozen() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | RelativeDateTimeFormatterTest.java | 364 {Direction.NEXT, AbsoluteUnit.SUNDAY, "next Sunday"}, in TestRelativeDateWithoutQuantity() 378 {Direction.LAST, AbsoluteUnit.SUNDAY, "last Sunday"}, in TestRelativeDateWithoutQuantity() 390 {Direction.THIS, AbsoluteUnit.SUNDAY, "this Sunday"}, in TestRelativeDateWithoutQuantity() 402 {Direction.PLAIN, AbsoluteUnit.SUNDAY, "Sunday"}, in TestRelativeDateWithoutQuantity() 428 {Direction.NEXT, AbsoluteUnit.SUNDAY, "Next Sunday"}, in TestRelativeDateWithoutQuantityCaps() 442 {Direction.LAST, AbsoluteUnit.SUNDAY, "Last Sunday"}, in TestRelativeDateWithoutQuantityCaps() 454 {Direction.THIS, AbsoluteUnit.SUNDAY, "This Sunday"}, in TestRelativeDateWithoutQuantityCaps() 466 {Direction.PLAIN, AbsoluteUnit.SUNDAY, "Sunday"}, in TestRelativeDateWithoutQuantityCaps() 499 {Direction.NEXT, AbsoluteUnit.SUNDAY, "next Sun."}, in TestRelativeDateWithoutQuantityShort() 515 {Direction.LAST, AbsoluteUnit.SUNDAY, "last Sun."}, in TestRelativeDateWithoutQuantityShort() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | RelativeDateTimeFormatterTest.java | 368 {Direction.NEXT, AbsoluteUnit.SUNDAY, "next Sunday"}, in TestRelativeDateWithoutQuantity() 382 {Direction.LAST, AbsoluteUnit.SUNDAY, "last Sunday"}, in TestRelativeDateWithoutQuantity() 394 {Direction.THIS, AbsoluteUnit.SUNDAY, "this Sunday"}, in TestRelativeDateWithoutQuantity() 406 {Direction.PLAIN, AbsoluteUnit.SUNDAY, "Sunday"}, in TestRelativeDateWithoutQuantity() 432 {Direction.NEXT, AbsoluteUnit.SUNDAY, "Next Sunday"}, in TestRelativeDateWithoutQuantityCaps() 446 {Direction.LAST, AbsoluteUnit.SUNDAY, "Last Sunday"}, in TestRelativeDateWithoutQuantityCaps() 458 {Direction.THIS, AbsoluteUnit.SUNDAY, "This Sunday"}, in TestRelativeDateWithoutQuantityCaps() 470 {Direction.PLAIN, AbsoluteUnit.SUNDAY, "Sunday"}, in TestRelativeDateWithoutQuantityCaps() 503 {Direction.NEXT, AbsoluteUnit.SUNDAY, "next Sun."}, in TestRelativeDateWithoutQuantityShort() 519 {Direction.LAST, AbsoluteUnit.SUNDAY, "last Sun."}, in TestRelativeDateWithoutQuantityShort() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/data/ |
D | HolidayBundle_en_US.java | 33 … new SimpleHoliday(Calendar.MAY, 8, Calendar.SUNDAY, "Mother's Day", 1914), 38 … 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 | 29 … new SimpleHoliday(Calendar.MAY, 8, Calendar.SUNDAY, "Mother's Day", 1914), 34 … new SimpleHoliday(Calendar.JUNE, 15, Calendar.SUNDAY, "Father's Day", 1956),
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | RelativeDateTimeFormatter.java | 170 SUNDAY, enumConstant 439 if ((direction == Direction.PLAIN) && (AbsoluteUnit.SUNDAY.ordinal() <= unit.ordinal() && in format() 442 … int dateSymbolsDayOrdinal = (unit.ordinal() - AbsoluteUnit.SUNDAY.ordinal()) + Calendar.SUNDAY; in format() 689 SUNDAY(null, AbsoluteUnit.SUNDAY), enumConstant 712 return SUNDAY; in orNullFromString()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | RelativeDateTimeFormatter.java | 155 SUNDAY, enumConstant 398 if ((direction == Direction.PLAIN) && (AbsoluteUnit.SUNDAY.ordinal() <= unit.ordinal() && in format() 401 … int dateSymbolsDayOrdinal = (unit.ordinal() - AbsoluteUnit.SUNDAY.ordinal()) + Calendar.SUNDAY; in format() 642 SUNDAY(null, AbsoluteUnit.SUNDAY), enumConstant 665 return SUNDAY; in orNullFromString()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
D | SerializableTest.java | 195 … new DateTimeRule(Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*HOUR, DateTimeRule.WALL_TIME), 199 … new DateTimeRule(Calendar.NOVEMBER, 1, Calendar.SUNDAY, true, 2*HOUR, DateTimeRule.WALL_TIME), 203 … new DateTimeRule(Calendar.APRIL, -1, Calendar.SUNDAY, 2*HOUR, DateTimeRule.WALL_TIME), 215 … new DateTimeRule(Calendar.APRIL, -1, Calendar.SUNDAY, 2*HOUR, DateTimeRule.WALL_TIME), 219 … new DateTimeRule(Calendar.APRIL, 1, Calendar.SUNDAY, true, 2*HOUR, DateTimeRule.WALL_TIME), 223 … new DateTimeRule(Calendar.MARCH, 8, Calendar.SUNDAY, true, 2*HOUR, DateTimeRule.WALL_TIME), 258 … 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 | SerializableTest.java | 199 … new DateTimeRule(Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*HOUR, DateTimeRule.WALL_TIME), 203 … new DateTimeRule(Calendar.NOVEMBER, 1, Calendar.SUNDAY, true, 2*HOUR, DateTimeRule.WALL_TIME), 207 … new DateTimeRule(Calendar.APRIL, -1, Calendar.SUNDAY, 2*HOUR, DateTimeRule.WALL_TIME), 219 … new DateTimeRule(Calendar.APRIL, -1, Calendar.SUNDAY, 2*HOUR, DateTimeRule.WALL_TIME), 223 … new DateTimeRule(Calendar.APRIL, 1, Calendar.SUNDAY, true, 2*HOUR, DateTimeRule.WALL_TIME), 227 … new DateTimeRule(Calendar.MARCH, 8, Calendar.SUNDAY, true, 2*HOUR, DateTimeRule.WALL_TIME), 262 … rules[1] = new DateTimeRule(Calendar.MARCH, 2, Calendar.SUNDAY, 2*HOUR, DateTimeRule.WALL_TIME); in getTestObjects()
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
D | Calendar.java | 939 public final static int SUNDAY = 1; field in Calendar 2279 if (dayOfWeek < SUNDAY || dayOfWeek > 7) { in getDayOfWeekType() 2281 } else if (dayOfWeek == SATURDAY || dayOfWeek == SUNDAY) { in getDayOfWeekType() 2337 if (dow == SATURDAY || dow == SUNDAY) { in isWeekend()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | CalendarRegression.java | 156 pdt.setStartRule(Calendar.APRIL, 1, Calendar.SUNDAY, 2 * 60 * 60 * 1000); in Test4040996() 157 pdt.setEndRule(Calendar.OCTOBER, -1, Calendar.SUNDAY, 2 * 60 * 60 * 1000); in Test4040996() 311 cal.get(Calendar.DAY_OF_WEEK) == Calendar.SUNDAY) in Test4070502() 331 if (wd == Calendar.SATURDAY || wd == Calendar.SUNDAY) { in getAssociatedDate() 357 if (min != Calendar.SUNDAY || max != Calendar.SATURDAY) in dowTest() 361 if (dow != Calendar.SUNDAY) in dowTest() 623 testCal.setFirstDayOfWeek(Calendar.SUNDAY); in Test4103271() 644 testCal.set(Calendar.DAY_OF_WEEK, (i%7) + Calendar.SUNDAY); in Test4103271() 669 new Integer(1998), new Integer(1), new Integer(Calendar.SUNDAY), in Test4103271() 679 testCal.setFirstDayOfWeek(Calendar.SUNDAY); in Test4103271() [all …]
|
D | IBMCalendarTest.java | 92 Calendar.SUNDAY, Calendar.WEEKEND, in TestWeekend() 104 Calendar.SUNDAY, Calendar.WEEKEND, in TestWeekend() 576 cal.setFirstDayOfWeek(Calendar.SUNDAY); in TestWeekShift() 694 new TestData(2001, 8, 5,/*12,*/ 2001,8,2,Calendar.SUNDAY, "2001 08 02 Sun", null), in TestJB1684() 697 … new TestData(2001, 8, 5, 2001,7,6,Calendar.SUNDAY, "2001 07 06 Sun", "2001 08 02 Sun"), in TestJB1684() 700 …new TestData(2001, 7,29, /*8, 5,*/ 2001,8,1,Calendar.SUNDAY, "2001 08 01 Sun", "2001 07 05 Su… in TestJB1684() 707 …new TestData(2001,12,30, /*2002, 1, 6,*/ 2002,1,1,Calendar.SUNDAY, "2002 01 01 Sun", "2001 12… in TestJB1684() 717 cal.setFirstDayOfWeek(Calendar.SUNDAY); in TestJB1684() 908 for (int i=Calendar.SUNDAY; i<=Calendar.SATURDAY; ++i) { in TestCoverage() 1749 for (int d = Calendar.SUNDAY; d <= Calendar.SATURDAY; d++) { in TestWeekData()
|
D | CompatibilityTest.java | 325 for (i=Calendar.SUNDAY; i<=Calendar.SATURDAY; ++i) { in TestGenericAPI() 482 if (dow != Calendar.SUNDAY) { in dowTest() 485 if (min != Calendar.SUNDAY || max != Calendar.SATURDAY) errln("FAIL: Min/max bad"); in dowTest() 1035 cal.setFirstDayOfWeek(Calendar.SUNDAY); in TestActualMinMax()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | CalendarRegression.java | 152 pdt.setStartRule(Calendar.APRIL, 1, Calendar.SUNDAY, 2 * 60 * 60 * 1000); in Test4040996() 153 pdt.setEndRule(Calendar.OCTOBER, -1, Calendar.SUNDAY, 2 * 60 * 60 * 1000); in Test4040996() 307 cal.get(Calendar.DAY_OF_WEEK) == Calendar.SUNDAY) in Test4070502() 327 if (wd == Calendar.SATURDAY || wd == Calendar.SUNDAY) { in getAssociatedDate() 353 if (min != Calendar.SUNDAY || max != Calendar.SATURDAY) in dowTest() 357 if (dow != Calendar.SUNDAY) in dowTest() 619 testCal.setFirstDayOfWeek(Calendar.SUNDAY); in Test4103271() 640 testCal.set(Calendar.DAY_OF_WEEK, (i%7) + Calendar.SUNDAY); in Test4103271() 665 new Integer(1998), new Integer(1), new Integer(Calendar.SUNDAY), in Test4103271() 675 testCal.setFirstDayOfWeek(Calendar.SUNDAY); in Test4103271() [all …]
|
D | IBMCalendarTest.java | 88 Calendar.SUNDAY, Calendar.WEEKEND, in TestWeekend() 100 Calendar.SUNDAY, Calendar.WEEKEND, in TestWeekend() 572 cal.setFirstDayOfWeek(Calendar.SUNDAY); in TestWeekShift() 690 new TestData(2001, 8, 5,/*12,*/ 2001,8,2,Calendar.SUNDAY, "2001 08 02 Sun", null), in TestJB1684() 693 … new TestData(2001, 8, 5, 2001,7,6,Calendar.SUNDAY, "2001 07 06 Sun", "2001 08 02 Sun"), in TestJB1684() 696 …new TestData(2001, 7,29, /*8, 5,*/ 2001,8,1,Calendar.SUNDAY, "2001 08 01 Sun", "2001 07 05 Su… in TestJB1684() 703 …new TestData(2001,12,30, /*2002, 1, 6,*/ 2002,1,1,Calendar.SUNDAY, "2002 01 01 Sun", "2001 12… in TestJB1684() 713 cal.setFirstDayOfWeek(Calendar.SUNDAY); in TestJB1684() 904 for (int i=Calendar.SUNDAY; i<=Calendar.SATURDAY; ++i) { in TestCoverage() 1745 for (int d = Calendar.SUNDAY; d <= Calendar.SATURDAY; d++) { in TestWeekData()
|
D | CompatibilityTest.java | 321 for (i=Calendar.SUNDAY; i<=Calendar.SATURDAY; ++i) { in TestGenericAPI() 478 if (dow != Calendar.SUNDAY) { in dowTest() 481 if (min != Calendar.SUNDAY || max != Calendar.SATURDAY) errln("FAIL: Min/max bad"); in dowTest() 1031 cal.setFirstDayOfWeek(Calendar.SUNDAY); in TestActualMinMax()
|
/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/nist-sip/java/gov/nist/javax/sip/parser/ |
D | HeaderParser.java | 68 return Calendar.SUNDAY; in wkday()
|