Home
last modified time | relevance | path

Searched refs:SUNDAY (Results 1 – 25 of 64) sorted by relevance

123

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneRegressionTest.java70 z.setStartRule(Calendar.FEBRUARY, 1, Calendar.SUNDAY, 0); in Test4073215()
71 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 …]
DTimeZoneOffsetLocalTest.java119 Calendar.APRIL, 1, Calendar.SUNDAY, 2*HOUR, in TestGetOffsetAroundTransition()
120 Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*HOUR); in TestGetOffsetAroundTransition()
133 dtr = new DateTimeRule(Calendar.APRIL, 1, Calendar.SUNDAY, in TestGetOffsetAroundTransition()
140 dtr = new DateTimeRule(Calendar.OCTOBER, -1, Calendar.SUNDAY, in TestGetOffsetAroundTransition()
164 Calendar.SUNDAY, DATES[d][5]); in TestGetOffsetAroundTransition()
DTimeZoneRuleTest.java53 Calendar.FEBRUARY, 2, Calendar.SUNDAY, 1*HOUR, SimpleTimeZone.WALL_TIME, in TestSimpleRuleBasedTimeZone()
74 dtr = new DateTimeRule(Calendar.FEBRUARY, 2, Calendar.SUNDAY, in TestSimpleRuleBasedTimeZone()
87 dtr = new DateTimeRule(Calendar.FEBRUARY, 8, Calendar.SUNDAY, true, in TestSimpleRuleBasedTimeZone()
98 dtr = new DateTimeRule(Calendar.FEBRUARY, 2, Calendar.SUNDAY, in TestSimpleRuleBasedTimeZone()
224 dtr = new DateTimeRule(Calendar.OCTOBER, -1, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone()
229 dtr = new DateTimeRule(Calendar.NOVEMBER, 1, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone()
235 dtr = new DateTimeRule(Calendar.APRIL, -1, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone()
250 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.MARCH, 8, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone()
[all …]
DTimeZoneTest.java948 Calendar.SUNDAY, 10 * millisPerHour); in TestAlternateRules()
960 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()
2022 stz.setStartRule(Calendar.JANUARY, -1, Calendar.SUNDAY, 0); in checkThawed()
2028 stz.setEndRule(Calendar.DECEMBER, 1, Calendar.SUNDAY, 0); in checkThawed()
2123 stz.setStartRule(Calendar.JANUARY, -1, Calendar.SUNDAY, 0); in checkFrozen()
2130 stz.setEndRule(Calendar.DECEMBER, 1, Calendar.SUNDAY, 0); in checkFrozen()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRegressionTest.java69 z.setStartRule(Calendar.FEBRUARY, 1, Calendar.SUNDAY, 0); in Test4073215()
70 z.setEndRule(Calendar.MARCH, -1, Calendar.SUNDAY, 0); in Test4073215()
108 1997, Calendar.OCTOBER, 26, Calendar.SUNDAY, (2*60*60*1000)); in Test4084933()
110 1997, Calendar.OCTOBER, 26, Calendar.SUNDAY, (2*60*60*1000)-1); in Test4084933()
113 1997, Calendar.OCTOBER, 26, Calendar.SUNDAY, (1*60*60*1000)); in Test4084933()
115 1997, Calendar.OCTOBER, 26, Calendar.SUNDAY, (1*60*60*1000)-1); in Test4084933()
123 1997, Calendar.APRIL, 6, Calendar.SUNDAY, (2*60*60*1000)); in Test4084933()
125 1997, Calendar.APRIL, 6, Calendar.SUNDAY, (2*60*60*1000)-1); in Test4084933()
128 1997, Calendar.APRIL, 6, Calendar.SUNDAY, (1*60*60*1000)); in Test4084933()
130 1997, Calendar.APRIL, 6, Calendar.SUNDAY, (1*60*60*1000)-1); in Test4084933()
[all …]
DTimeZoneOffsetLocalTest.java118 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()
DTimeZoneRuleTest.java52 Calendar.FEBRUARY, 2, Calendar.SUNDAY, 1*HOUR, SimpleTimeZone.WALL_TIME, in TestSimpleRuleBasedTimeZone()
73 dtr = new DateTimeRule(Calendar.FEBRUARY, 2, Calendar.SUNDAY, in TestSimpleRuleBasedTimeZone()
86 dtr = new DateTimeRule(Calendar.FEBRUARY, 8, Calendar.SUNDAY, true, in TestSimpleRuleBasedTimeZone()
97 dtr = new DateTimeRule(Calendar.FEBRUARY, 2, Calendar.SUNDAY, in TestSimpleRuleBasedTimeZone()
223 dtr = new DateTimeRule(Calendar.OCTOBER, -1, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone()
228 dtr = new DateTimeRule(Calendar.NOVEMBER, 1, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone()
234 dtr = new DateTimeRule(Calendar.APRIL, -1, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone()
249 dtr = new DateTimeRule(Calendar.APRIL, -1, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone()
254 dtr = new DateTimeRule(Calendar.APRIL, 1, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone()
259 dtr = new DateTimeRule(Calendar.MARCH, 8, Calendar.SUNDAY, in TestHistoricalRuleBasedTimeZone()
[all …]
DTimeZoneTest.java947 Calendar.SUNDAY, 10 * millisPerHour); in TestAlternateRules()
959 Calendar.SUNDAY, 10 * millisPerHour); in TestAlternateRules()
1437 … Calendar.NOVEMBER, 1, Calendar.SUNDAY, // start: November, first, Sunday in TestFebruary()
1439 Calendar.FEBRUARY, -1, Calendar.SUNDAY, // end: February, last, Sunday in TestFebruary()
1448 … Calendar.NOVEMBER, 1, -Calendar.SUNDAY, // start: November, 1 or after, Sunday in TestFebruary()
1450 … Calendar.FEBRUARY, -29, -Calendar.SUNDAY,// end: February, 29 or before, Sunday in TestFebruary()
2021 stz.setStartRule(Calendar.JANUARY, -1, Calendar.SUNDAY, 0); in checkThawed()
2027 stz.setEndRule(Calendar.DECEMBER, 1, Calendar.SUNDAY, 0); in checkThawed()
2122 stz.setStartRule(Calendar.JANUARY, -1, Calendar.SUNDAY, 0); in checkFrozen()
2129 stz.setEndRule(Calendar.DECEMBER, 1, Calendar.SUNDAY, 0); in checkFrozen()
[all …]
/external/r8/src/test/examples/switchmaps/
DSwitches.java38 case SUNDAY: in switchWithDefault()
56 case SUNDAY: in switchFull()
DDays.java7 MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY; enumConstant
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DRelativeDateTimeFormatterTest.java374 {Direction.NEXT, AbsoluteUnit.SUNDAY, "next Sunday"}, in TestRelativeDateWithoutQuantity()
388 {Direction.LAST, AbsoluteUnit.SUNDAY, "last Sunday"}, in TestRelativeDateWithoutQuantity()
400 {Direction.THIS, AbsoluteUnit.SUNDAY, "this Sunday"}, in TestRelativeDateWithoutQuantity()
412 {Direction.PLAIN, AbsoluteUnit.SUNDAY, "Sunday"}, in TestRelativeDateWithoutQuantity()
439 {Direction.NEXT, AbsoluteUnit.SUNDAY, "Next Sunday"}, in TestRelativeDateWithoutQuantityCaps()
453 {Direction.LAST, AbsoluteUnit.SUNDAY, "Last Sunday"}, in TestRelativeDateWithoutQuantityCaps()
465 {Direction.THIS, AbsoluteUnit.SUNDAY, "This Sunday"}, in TestRelativeDateWithoutQuantityCaps()
477 {Direction.PLAIN, AbsoluteUnit.SUNDAY, "Sunday"}, in TestRelativeDateWithoutQuantityCaps()
511 {Direction.NEXT, AbsoluteUnit.SUNDAY, "next Sun."}, in TestRelativeDateWithoutQuantityShort()
527 {Direction.LAST, AbsoluteUnit.SUNDAY, "last Sun."}, in TestRelativeDateWithoutQuantityShort()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DRelativeDateTimeFormatterTest.java373 {Direction.NEXT, AbsoluteUnit.SUNDAY, "next Sunday"}, in TestRelativeDateWithoutQuantity()
387 {Direction.LAST, AbsoluteUnit.SUNDAY, "last Sunday"}, in TestRelativeDateWithoutQuantity()
399 {Direction.THIS, AbsoluteUnit.SUNDAY, "this Sunday"}, in TestRelativeDateWithoutQuantity()
411 {Direction.PLAIN, AbsoluteUnit.SUNDAY, "Sunday"}, in TestRelativeDateWithoutQuantity()
438 {Direction.NEXT, AbsoluteUnit.SUNDAY, "Next Sunday"}, in TestRelativeDateWithoutQuantityCaps()
452 {Direction.LAST, AbsoluteUnit.SUNDAY, "Last Sunday"}, in TestRelativeDateWithoutQuantityCaps()
464 {Direction.THIS, AbsoluteUnit.SUNDAY, "This Sunday"}, in TestRelativeDateWithoutQuantityCaps()
476 {Direction.PLAIN, AbsoluteUnit.SUNDAY, "Sunday"}, in TestRelativeDateWithoutQuantityCaps()
510 {Direction.NEXT, AbsoluteUnit.SUNDAY, "next Sun."}, in TestRelativeDateWithoutQuantityShort()
526 {Direction.LAST, AbsoluteUnit.SUNDAY, "last Sun."}, in TestRelativeDateWithoutQuantityShort()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/data/
DHolidayBundle_en_US.java35 … 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/
DHolidayBundle_en_US.java31 … 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/classes/core/src/com/ibm/icu/text/
DRelativeDateTimeFormatter.java172 SUNDAY, enumConstant
361 SUNDAY, enumConstant
601 if ((direction == Direction.PLAIN) && (AbsoluteUnit.SUNDAY.ordinal() <= unit.ordinal() && in format()
604 … int dateSymbolsDayOrdinal = (unit.ordinal() - AbsoluteUnit.SUNDAY.ordinal()) + Calendar.SUNDAY; in format()
661 case SUNDAY: absunit = AbsoluteUnit.SUNDAY; break; in format()
919 SUNDAY(null, AbsoluteUnit.SUNDAY), enumConstant
942 return SUNDAY; in orNullFromString()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRelativeDateTimeFormatter.java157 SUNDAY, enumConstant
318 SUNDAY, enumConstant
543 if ((direction == Direction.PLAIN) && (AbsoluteUnit.SUNDAY.ordinal() <= unit.ordinal() && in format()
546 … int dateSymbolsDayOrdinal = (unit.ordinal() - AbsoluteUnit.SUNDAY.ordinal()) + Calendar.SUNDAY; in format()
602 case SUNDAY: absunit = AbsoluteUnit.SUNDAY; break; in format()
856 SUNDAY(null, AbsoluteUnit.SUNDAY), enumConstant
879 return SUNDAY; in orNullFromString()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
DCalendar.java941 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/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DSerializableTestUtility.java225 … new DateTimeRule(Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*HOUR, DateTimeRule.WALL_TIME),
229 … new DateTimeRule(Calendar.NOVEMBER, 1, Calendar.SUNDAY, true, 2*HOUR, DateTimeRule.WALL_TIME),
233 … new DateTimeRule(Calendar.APRIL, -1, Calendar.SUNDAY, 2*HOUR, DateTimeRule.WALL_TIME),
245 … new DateTimeRule(Calendar.APRIL, -1, Calendar.SUNDAY, 2*HOUR, DateTimeRule.WALL_TIME),
249 … new DateTimeRule(Calendar.APRIL, 1, Calendar.SUNDAY, true, 2*HOUR, DateTimeRule.WALL_TIME),
253 … new DateTimeRule(Calendar.MARCH, 8, Calendar.SUNDAY, true, 2*HOUR, DateTimeRule.WALL_TIME),
288 … rules[1] = new DateTimeRule(Calendar.MARCH, 2, Calendar.SUNDAY, 2*HOUR, DateTimeRule.WALL_TIME); in getTestObjects()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DSerializableTestUtility.java224 … new DateTimeRule(Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*HOUR, DateTimeRule.WALL_TIME),
228 … new DateTimeRule(Calendar.NOVEMBER, 1, Calendar.SUNDAY, true, 2*HOUR, DateTimeRule.WALL_TIME),
232 … new DateTimeRule(Calendar.APRIL, -1, Calendar.SUNDAY, 2*HOUR, DateTimeRule.WALL_TIME),
244 … new DateTimeRule(Calendar.APRIL, -1, Calendar.SUNDAY, 2*HOUR, DateTimeRule.WALL_TIME),
248 … new DateTimeRule(Calendar.APRIL, 1, Calendar.SUNDAY, true, 2*HOUR, DateTimeRule.WALL_TIME),
252 … new DateTimeRule(Calendar.MARCH, 8, Calendar.SUNDAY, true, 2*HOUR, DateTimeRule.WALL_TIME),
287 … rules[1] = new DateTimeRule(Calendar.MARCH, 2, Calendar.SUNDAY, 2*HOUR, DateTimeRule.WALL_TIME); in getTestObjects()
/external/python/cpython2/Lib/test/
Dtest_calendar.py232 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/
DCalendarRegressionTest.java156 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()
315 cal.get(Calendar.DAY_OF_WEEK) == Calendar.SUNDAY) in Test4070502()
335 if (wd == Calendar.SATURDAY || wd == Calendar.SUNDAY) { in getAssociatedDate()
362 if (min != Calendar.SUNDAY || max != Calendar.SATURDAY) in dowTest()
366 if (dow != Calendar.SUNDAY) in dowTest()
638 testCal.setFirstDayOfWeek(Calendar.SUNDAY); in Test4103271()
659 testCal.set(Calendar.DAY_OF_WEEK, (i%7) + Calendar.SUNDAY); in Test4103271()
684 new Integer(1998), new Integer(1), new Integer(Calendar.SUNDAY), in Test4103271()
694 testCal.setFirstDayOfWeek(Calendar.SUNDAY); in Test4103271()
[all …]
DIBMCalendarTest.java89 Calendar.SUNDAY, Calendar.WEEKEND, in TestWeekend()
101 Calendar.SUNDAY, Calendar.WEEKEND, in TestWeekend()
585 cal.setFirstDayOfWeek(Calendar.SUNDAY); in TestWeekShift()
705 new TestData(2001, 8, 5,/*12,*/ 2001,8,2,Calendar.SUNDAY, "2001 08 02 Sun", null), in TestJB1684()
708 … new TestData(2001, 8, 5, 2001,7,6,Calendar.SUNDAY, "2001 07 06 Sun", "2001 08 02 Sun"), in TestJB1684()
711 …new TestData(2001, 7,29, /*8, 5,*/ 2001,8,1,Calendar.SUNDAY, "2001 08 01 Sun", "2001 07 05 Su… in TestJB1684()
718 …new TestData(2001,12,30, /*2002, 1, 6,*/ 2002,1,1,Calendar.SUNDAY, "2002 01 01 Sun", "2001 12… in TestJB1684()
728 cal.setFirstDayOfWeek(Calendar.SUNDAY); in TestJB1684()
922 for (int i=Calendar.SUNDAY; i<=Calendar.SATURDAY; ++i) { in TestCoverage()
1789 for (int d = Calendar.SUNDAY; d <= Calendar.SATURDAY; d++) { in TestWeekData()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCalendarRegressionTest.java155 pdt.setStartRule(Calendar.APRIL, 1, Calendar.SUNDAY, 2 * 60 * 60 * 1000); in Test4040996()
156 pdt.setEndRule(Calendar.OCTOBER, -1, Calendar.SUNDAY, 2 * 60 * 60 * 1000); in Test4040996()
314 cal.get(Calendar.DAY_OF_WEEK) == Calendar.SUNDAY) in Test4070502()
334 if (wd == Calendar.SATURDAY || wd == Calendar.SUNDAY) { in getAssociatedDate()
361 if (min != Calendar.SUNDAY || max != Calendar.SATURDAY) in dowTest()
365 if (dow != Calendar.SUNDAY) in dowTest()
637 testCal.setFirstDayOfWeek(Calendar.SUNDAY); in Test4103271()
658 testCal.set(Calendar.DAY_OF_WEEK, (i%7) + Calendar.SUNDAY); in Test4103271()
683 new Integer(1998), new Integer(1), new Integer(Calendar.SUNDAY), in Test4103271()
693 testCal.setFirstDayOfWeek(Calendar.SUNDAY); in Test4103271()
[all …]
DIBMCalendarTest.java88 Calendar.SUNDAY, Calendar.WEEKEND, in TestWeekend()
100 Calendar.SUNDAY, Calendar.WEEKEND, in TestWeekend()
584 cal.setFirstDayOfWeek(Calendar.SUNDAY); in TestWeekShift()
704 new TestData(2001, 8, 5,/*12,*/ 2001,8,2,Calendar.SUNDAY, "2001 08 02 Sun", null), in TestJB1684()
707 … new TestData(2001, 8, 5, 2001,7,6,Calendar.SUNDAY, "2001 07 06 Sun", "2001 08 02 Sun"), in TestJB1684()
710 …new TestData(2001, 7,29, /*8, 5,*/ 2001,8,1,Calendar.SUNDAY, "2001 08 01 Sun", "2001 07 05 Su… in TestJB1684()
717 …new TestData(2001,12,30, /*2002, 1, 6,*/ 2002,1,1,Calendar.SUNDAY, "2002 01 01 Sun", "2001 12… in TestJB1684()
727 cal.setFirstDayOfWeek(Calendar.SUNDAY); in TestJB1684()
921 for (int i=Calendar.SUNDAY; i<=Calendar.SATURDAY; ++i) { in TestCoverage()
1788 for (int d = Calendar.SUNDAY; d <= Calendar.SATURDAY; d++) { in TestWeekData()
/external/nist-sip/java/gov/nist/javax/sip/header/
DSIPDate.java193 case Calendar.SUNDAY : in SIPDate()
396 wkday = Calendar.SUNDAY; in setWkday()

123