Home
last modified time | relevance | path

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

123

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRegressionTest.java72 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 …]
DTimeZoneOffsetLocalTest.java121 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()
DTimeZoneRuleTest.java55 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 …]
DTimeZoneTest.java938 Calendar.SUNDAY, 10 * millisPerHour); in TestAlternateRules()
950 Calendar.SUNDAY, 10 * millisPerHour); in TestAlternateRules()
1433 … Calendar.NOVEMBER, 1, Calendar.SUNDAY, // start: November, first, Sunday in TestFebruary()
1435 Calendar.FEBRUARY, -1, Calendar.SUNDAY, // end: February, last, Sunday in TestFebruary()
1444 … Calendar.NOVEMBER, 1, -Calendar.SUNDAY, // start: November, 1 or after, Sunday in TestFebruary()
1446 … Calendar.FEBRUARY, -29, -Calendar.SUNDAY,// end: February, 29 or before, Sunday in TestFebruary()
2017 stz.setStartRule(Calendar.JANUARY, -1, Calendar.SUNDAY, 0); in checkThawed()
2023 stz.setEndRule(Calendar.DECEMBER, 1, Calendar.SUNDAY, 0); in checkThawed()
2118 stz.setStartRule(Calendar.JANUARY, -1, Calendar.SUNDAY, 0); in checkFrozen()
2125 stz.setEndRule(Calendar.DECEMBER, 1, Calendar.SUNDAY, 0); in checkFrozen()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneRegressionTest.java75 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 …]
DTimeZoneOffsetLocalTest.java124 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()
DTimeZoneRuleTest.java58 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 …]
DTimeZoneTest.java941 Calendar.SUNDAY, 10 * millisPerHour); in TestAlternateRules()
953 Calendar.SUNDAY, 10 * millisPerHour); in TestAlternateRules()
1436 … Calendar.NOVEMBER, 1, Calendar.SUNDAY, // start: November, first, Sunday in TestFebruary()
1438 Calendar.FEBRUARY, -1, Calendar.SUNDAY, // end: February, last, Sunday in TestFebruary()
1447 … Calendar.NOVEMBER, 1, -Calendar.SUNDAY, // start: November, 1 or after, Sunday in TestFebruary()
1449 … Calendar.FEBRUARY, -29, -Calendar.SUNDAY,// end: February, 29 or before, Sunday in TestFebruary()
2020 stz.setStartRule(Calendar.JANUARY, -1, Calendar.SUNDAY, 0); in checkThawed()
2026 stz.setEndRule(Calendar.DECEMBER, 1, Calendar.SUNDAY, 0); in checkThawed()
2121 stz.setStartRule(Calendar.JANUARY, -1, Calendar.SUNDAY, 0); in checkFrozen()
2128 stz.setEndRule(Calendar.DECEMBER, 1, Calendar.SUNDAY, 0); in checkFrozen()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DRelativeDateTimeFormatterTest.java376 {Direction.NEXT, AbsoluteUnit.SUNDAY, "next Sunday"}, in TestRelativeDateWithoutQuantity()
390 {Direction.LAST, AbsoluteUnit.SUNDAY, "last Sunday"}, in TestRelativeDateWithoutQuantity()
402 {Direction.THIS, AbsoluteUnit.SUNDAY, "this Sunday"}, in TestRelativeDateWithoutQuantity()
414 {Direction.PLAIN, AbsoluteUnit.SUNDAY, "Sunday"}, in TestRelativeDateWithoutQuantity()
441 {Direction.NEXT, AbsoluteUnit.SUNDAY, "Next Sunday"}, in TestRelativeDateWithoutQuantityCaps()
455 {Direction.LAST, AbsoluteUnit.SUNDAY, "Last Sunday"}, in TestRelativeDateWithoutQuantityCaps()
467 {Direction.THIS, AbsoluteUnit.SUNDAY, "This Sunday"}, in TestRelativeDateWithoutQuantityCaps()
479 {Direction.PLAIN, AbsoluteUnit.SUNDAY, "Sunday"}, in TestRelativeDateWithoutQuantityCaps()
513 {Direction.NEXT, AbsoluteUnit.SUNDAY, "next Sun."}, in TestRelativeDateWithoutQuantityShort()
529 {Direction.LAST, AbsoluteUnit.SUNDAY, "last Sun."}, in TestRelativeDateWithoutQuantityShort()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DRelativeDateTimeFormatterTest.java379 {Direction.NEXT, AbsoluteUnit.SUNDAY, "next Sunday"}, in TestRelativeDateWithoutQuantity()
393 {Direction.LAST, AbsoluteUnit.SUNDAY, "last Sunday"}, in TestRelativeDateWithoutQuantity()
405 {Direction.THIS, AbsoluteUnit.SUNDAY, "this Sunday"}, in TestRelativeDateWithoutQuantity()
417 {Direction.PLAIN, AbsoluteUnit.SUNDAY, "Sunday"}, in TestRelativeDateWithoutQuantity()
444 {Direction.NEXT, AbsoluteUnit.SUNDAY, "Next Sunday"}, in TestRelativeDateWithoutQuantityCaps()
458 {Direction.LAST, AbsoluteUnit.SUNDAY, "Last Sunday"}, in TestRelativeDateWithoutQuantityCaps()
470 {Direction.THIS, AbsoluteUnit.SUNDAY, "This Sunday"}, in TestRelativeDateWithoutQuantityCaps()
482 {Direction.PLAIN, AbsoluteUnit.SUNDAY, "Sunday"}, in TestRelativeDateWithoutQuantityCaps()
516 {Direction.NEXT, AbsoluteUnit.SUNDAY, "next Sun."}, in TestRelativeDateWithoutQuantityShort()
532 {Direction.LAST, AbsoluteUnit.SUNDAY, "last Sun."}, in TestRelativeDateWithoutQuantityShort()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRelativeDateTimeFormatter.java158 SUNDAY, enumConstant
309 SUNDAY, enumConstant
527 if ((direction == Direction.PLAIN) && (AbsoluteUnit.SUNDAY.ordinal() <= unit.ordinal() && in format()
530 … int dateSymbolsDayOrdinal = (unit.ordinal() - AbsoluteUnit.SUNDAY.ordinal()) + Calendar.SUNDAY; in format()
585 case SUNDAY: absunit = AbsoluteUnit.SUNDAY; break; in format()
845 SUNDAY(null, AbsoluteUnit.SUNDAY), enumConstant
868 return SUNDAY; in orNullFromString()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRelativeDateTimeFormatter.java173 SUNDAY, enumConstant
352 SUNDAY, enumConstant
585 if ((direction == Direction.PLAIN) && (AbsoluteUnit.SUNDAY.ordinal() <= unit.ordinal() && in format()
588 … int dateSymbolsDayOrdinal = (unit.ordinal() - AbsoluteUnit.SUNDAY.ordinal()) + Calendar.SUNDAY; in format()
644 case SUNDAY: absunit = AbsoluteUnit.SUNDAY; break; in format()
908 SUNDAY(null, AbsoluteUnit.SUNDAY), enumConstant
931 return SUNDAY; in orNullFromString()
/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/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.java229 … 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/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DSerializableTestUtility.java226 … 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/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCalendarRegressionTest.java162 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 …]
DIBMCalendarTest.java91 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()
1791 for (int d = Calendar.SUNDAY; d <= Calendar.SATURDAY; d++) { in TestWeekData()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DCalendarRegressionTest.java165 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 …]
DIBMCalendarTest.java94 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()
1794 for (int d = Calendar.SUNDAY; d <= Calendar.SATURDAY; d++) { in TestWeekData()
/external/python/cpython2/Lib/test/
Dtest_calendar.py232 calendar.setfirstweekday(calendar.SUNDAY)
233 self.assertEqual(calendar.firstweekday(), calendar.SUNDAY)
390 firstweekday = calendar.SUNDAY
/external/nist-sip/java/gov/nist/javax/sip/header/
DSIPDate.java193 case Calendar.SUNDAY : in SIPDate()
396 wkday = Calendar.SUNDAY; in setWkday()
/external/libtextclassifier/utils/calendar/
Dcalendar-common.h255 case DateParseData::RelationType::SUNDAY: in AdjustByRelation()
333 data.relation_type == DateParseData::RelationType::SUNDAY || in GetGranularity()
/external/python/cpython3/Lib/test/
Dtest_calendar.py508 calendar.setfirstweekday(calendar.SUNDAY)
509 self.assertEqual(calendar.firstweekday(), calendar.SUNDAY)
673 firstweekday = calendar.SUNDAY

123