Home
last modified time | relevance | path

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

12

/libcore/luni/src/test/java/libcore/java/util/
DCalendarWeekOfMonthTest.java128 { 1462107600000L, "01 May 2016", Calendar.SUNDAY, 4, 1 }, in data()
129 { 1462712400000L, "08 May 2016", Calendar.SUNDAY, 4, 2 }, in data()
130 { 1463317200000L, "15 May 2016", Calendar.SUNDAY, 4, 3 }, in data()
131 { 1463922000000L, "22 May 2016", Calendar.SUNDAY, 4, 4 }, in data()
132 { 1464526800000L, "29 May 2016", Calendar.SUNDAY, 4, 5 }, in data()
133 { 1464786000000L, "01 Jun 2016", Calendar.SUNDAY, 4, 1 }, in data()
134 { 1465131600000L, "05 Jun 2016", Calendar.SUNDAY, 4, 2 }, in data()
135 { 1465736400000L, "12 Jun 2016", Calendar.SUNDAY, 4, 3 }, in data()
136 { 1466341200000L, "19 Jun 2016", Calendar.SUNDAY, 4, 4 }, in data()
137 { 1466946000000L, "26 Jun 2016", Calendar.SUNDAY, 4, 5 }, in data()
[all …]
DSimpleTimeZoneTest.java55 Calendar.MARCH, -1, Calendar.SUNDAY, 3600000, SimpleTimeZone.UTC_TIME, in testDstParis2014_LastSundayMarch_LastSundayOctober_UtcTime()
56 Calendar.OCTOBER, -1, Calendar.SUNDAY, 3600000, SimpleTimeZone.UTC_TIME, 3600000); in testDstParis2014_LastSundayMarch_LastSundayOctober_UtcTime()
63 Calendar.MARCH, 25, -Calendar.SUNDAY, 3600000, SimpleTimeZone.UTC_TIME, in testDstParis2014_SundayAfter25thMarch_SundayAfter25thOctober_UtcTime()
64 Calendar.OCTOBER, 25, -Calendar.SUNDAY, 3600000, SimpleTimeZone.UTC_TIME, 3600000); in testDstParis2014_SundayAfter25thMarch_SundayAfter25thOctober_UtcTime()
89 Calendar.APRIL, 1, -Calendar.SUNDAY, 7200000, in testDst_1stSundayApril_1stSundayOctober_DefaultTime()
90 Calendar.OCTOBER, -1, Calendar.SUNDAY, 7200000, in testDst_1stSundayApril_1stSundayOctober_DefaultTime()
114 Calendar.MARCH, 2, Calendar.SUNDAY, 7200000, SimpleTimeZone.STANDARD_TIME, in testDstNewYork2014_2ndSundayMarch_1stSundayNovember_StandardTime()
115 Calendar.NOVEMBER, 1, Calendar.SUNDAY, 3600000, SimpleTimeZone.STANDARD_TIME, in testDstNewYork2014_2ndSundayMarch_1stSundayNovember_StandardTime()
123 Calendar.MARCH, 2, Calendar.SUNDAY, 25200000, SimpleTimeZone.UTC_TIME, in testDstNewYork2014_2ndSundayMarch_1stSundayNovember_UtcTime()
124 Calendar.NOVEMBER, 1, Calendar.SUNDAY, 21600000, SimpleTimeZone.UTC_TIME, in testDstNewYork2014_2ndSundayMarch_1stSundayNovember_UtcTime()
[all …]
DOldAndroidLocaleTest.java61 assertEquals("Sunday", engSymbols.getWeekdays()[Calendar.SUNDAY]); in testResourceBundles()
62 assertEquals("Sonntag", deuSymbols.getWeekdays()[Calendar.SUNDAY]); in testResourceBundles()
DCalendarTest.java209 calendar.setFirstDayOfWeek(Calendar.SUNDAY); in testCalendarSerialization()
DGregorianCalendarTest.java237 cal.setWeekDate(2016, 13, Calendar.SUNDAY - 1); in test_setWeekDate()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DSimpleTimeZoneTest.java54 1, Calendar.SUNDAY, 0, Calendar.NOVEMBER, -1, Calendar.SUNDAY, in test_ConstructorILjava_lang_StringIIIIIIII()
68 1, Calendar.SUNDAY, 0, Calendar.NOVEMBER, -1, Calendar.SUNDAY, in test_ConstructorILjava_lang_StringIIIIIIII()
77 10, Calendar.SUNDAY, 0, Calendar.NOVEMBER, -1, Calendar.SUNDAY, in test_ConstructorILjava_lang_StringIIIIIIII()
86 1, 10, 0, Calendar.NOVEMBER, -1, Calendar.SUNDAY, in test_ConstructorILjava_lang_StringIIIIIIII()
95 1, Calendar.SUNDAY, 0, Calendar.NOVEMBER, -10, Calendar.SUNDAY, in test_ConstructorILjava_lang_StringIIIIIIII()
111 1, Calendar.SUNDAY, 0, Calendar.NOVEMBER, -1, Calendar.SUNDAY, in test_ConstructorILjava_lang_StringIIIIIIIII()
127 1, Calendar.SUNDAY, 0, Calendar.NOVEMBER, -1, Calendar.SUNDAY, in test_ConstructorILjava_lang_StringIIIIIIIII()
136 10, Calendar.SUNDAY, 0, Calendar.NOVEMBER, -1, Calendar.SUNDAY, in test_ConstructorILjava_lang_StringIIIIIIIII()
145 1, 10, 0, Calendar.NOVEMBER, -1, Calendar.SUNDAY, in test_ConstructorILjava_lang_StringIIIIIIIII()
154 1, Calendar.SUNDAY, 0, Calendar.NOVEMBER, -10, Calendar.SUNDAY, in test_ConstructorILjava_lang_StringIIIIIIIII()
[all …]
/libcore/ojluni/src/test/java/time/tck/java/time/zone/
DTCKZoneOffsetTransitionRule.java92 null, 20, DayOfWeek.SUNDAY, TIME_0100, false, TimeDefinition.WALL, in test_factory_nullMonth()
99 Month.MARCH, 20, DayOfWeek.SUNDAY, null, false, TimeDefinition.WALL, in test_factory_nullTime()
106 Month.MARCH, 20, DayOfWeek.SUNDAY, TIME_0100, false, null, in test_factory_nullTimeDefinition()
113 Month.MARCH, 20, DayOfWeek.SUNDAY, TIME_0100, false, TimeDefinition.WALL, in test_factory_nullStandardOffset()
120 Month.MARCH, 20, DayOfWeek.SUNDAY, TIME_0100, false, TimeDefinition.WALL, in test_factory_nullOffsetBefore()
127 Month.MARCH, 20, DayOfWeek.SUNDAY, TIME_0100, false, TimeDefinition.WALL, in test_factory_nullOffsetAfter()
134 Month.MARCH, -29, DayOfWeek.SUNDAY, TIME_0100, false, TimeDefinition.WALL, in test_factory_invalidDayOfMonthIndicator_tooSmall()
141 Month.MARCH, 0, DayOfWeek.SUNDAY, TIME_0100, false, TimeDefinition.WALL, in test_factory_invalidDayOfMonthIndicator_zero()
148 Month.MARCH, 32, DayOfWeek.SUNDAY, TIME_0100, false, TimeDefinition.WALL, in test_factory_invalidDayOfMonthIndicator_tooLarge()
155 Month.MARCH, 20, DayOfWeek.SUNDAY, TIME_0100, true, TimeDefinition.WALL, in test_factory_invalidMidnightFlag()
[all …]
DTCKZoneRules.java377 assertEquals(in.getDayOfWeek(), DayOfWeek.SUNDAY); in test_London_getTransitionRules()
388 assertEquals(out.getDayOfWeek(), DayOfWeek.SUNDAY); in test_London_getTransitionRules()
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKWeekFields.java130 assertEquals(date.get(WeekFields.of(DayOfWeek.SUNDAY, 1).dayOfWeek()), 2); in test_dayOfWeekField_simpleGet()
131 assertEquals(date.get(WeekFields.of(DayOfWeek.SUNDAY, 7).dayOfWeek()), 2); in test_dayOfWeekField_simpleGet()
734 {WeekFields.of(DayOfWeek.SUNDAY, 1), 2008, 52, 7, LocalDate.of(2008, 12, 27)}, in provider_WeekBasedYearData()
735 {WeekFields.of(DayOfWeek.SUNDAY, 1), 2009, 1, 1, LocalDate.of(2008, 12, 28)}, in provider_WeekBasedYearData()
736 {WeekFields.of(DayOfWeek.SUNDAY, 1), 2009, 1, 2, LocalDate.of(2008, 12, 29)}, in provider_WeekBasedYearData()
737 {WeekFields.of(DayOfWeek.SUNDAY, 1), 2009, 1, 3, LocalDate.of(2008, 12, 30)}, in provider_WeekBasedYearData()
738 {WeekFields.of(DayOfWeek.SUNDAY, 1), 2009, 1, 4, LocalDate.of(2008, 12, 31)}, in provider_WeekBasedYearData()
739 {WeekFields.of(DayOfWeek.SUNDAY, 1), 2009, 1, 5, LocalDate.of(2009, 1, 1)}, in provider_WeekBasedYearData()
740 {WeekFields.of(DayOfWeek.SUNDAY, 1), 2009, 2, 1, LocalDate.of(2009, 1, 4)}, in provider_WeekBasedYearData()
741 {WeekFields.of(DayOfWeek.SUNDAY, 1), 2009, 2, 2, LocalDate.of(2009, 1, 5)}, in provider_WeekBasedYearData()
[all …]
DTCKIsoFields.java62 import static java.time.DayOfWeek.SUNDAY;
303 {LocalDate.of(2012, 12, 23), SUNDAY, 51, 2012}, in data_week()
308 {LocalDate.of(2012, 12, 30), SUNDAY, 52, 2012}, in data_week()
312 {LocalDate.of(2013, 1, 6), SUNDAY, 1, 2013}, in data_week()
/libcore/ojluni/src/test/java/time/tck/java/time/zone/serial/
DTCKZoneOffsetTransitionRuleSerialization.java115 Month.MARCH, 20, DayOfWeek.SUNDAY, TIME_0100, false, TimeDefinition.WALL, in test_serialization_floatingWeek()
123 Month.MARCH, -1, DayOfWeek.SUNDAY, TIME_0100, false, TimeDefinition.WALL, in test_serialization_floatingWeekBackwards()
/libcore/ojluni/src/main/java/java/text/
DCalendarBuilder.java165 return calendarDayOfWeek == SUNDAY ? 7 : calendarDayOfWeek - 1; in toISODayOfWeek()
173 return isoDayOfWeek == 7 ? SUNDAY : isoDayOfWeek + 1; in toCalendarDayOfWeek()
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestTextPrinter.java213 {Locale.US, "e", "1", DayOfWeek.SUNDAY}, in providerDayOfWeekData()
214 {Locale.US, "ee", "01", DayOfWeek.SUNDAY}, in providerDayOfWeekData()
215 {Locale.US, "c", "1", DayOfWeek.SUNDAY}, in providerDayOfWeekData()
DTestTextParser.java225 {Locale.US, "e", "1", DayOfWeek.SUNDAY}, in providerDayOfWeekData()
226 {Locale.US, "ee", "01", DayOfWeek.SUNDAY}, in providerDayOfWeekData()
227 {Locale.US, "c", "1", DayOfWeek.SUNDAY}, in providerDayOfWeekData()
/libcore/ojluni/src/main/java/java/util/
DSimpleTimeZone.java660 || (dayOfWeek < Calendar.SUNDAY || dayOfWeek > Calendar.SATURDAY) in getOffset()
1482 startDayOfWeek = Calendar.SUNDAY; in makeRulesCompatible()
1505 endDayOfWeek = Calendar.SUNDAY; in makeRulesCompatible()
1679 startDayOfWeek = Calendar.SUNDAY; in readObject()
1682 endDayOfWeek = Calendar.SUNDAY; in readObject()
DDate.java796 return normalize().getDayOfWeek() - BaseCalendar.SUNDAY; in getDay()
1054 if (index == BaseCalendar.SUNDAY) { in toString()
DGregorianCalendar.java448 SUNDAY, // DAY_OF_WEEK
2208 if (dayOfWeek < SUNDAY || dayOfWeek > SATURDAY) { in setWeekDate()
/libcore/ojluni/src/main/java/sun/util/calendar/
DBaseCalendar.java55 public static final int SUNDAY = 1; field in BaseCalendar
479 return (int)(fixedDate % 7) + SUNDAY; in getDayOfWeekFromFixedDate()
481 return (int)CalendarUtils.mod(fixedDate, 7) + SUNDAY; in getDayOfWeekFromFixedDate()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKDayOfWeek.java63 import static java.time.DayOfWeek.SUNDAY;
104 TemporalAccessor[] array = {MONDAY, WEDNESDAY, SUNDAY, }; in samples()
368 assertEquals(DayOfWeek.SUNDAY.toString(), "SUNDAY"); in test_toString()
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/
DBaseCalendar.java164 public static final int SUNDAY = 1; // 0x1 field in BaseCalendar
/libcore/ojluni/src/main/java/java/time/
DDayOfWeek.java145 SUNDAY; enumConstant
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeTextProvider.java191 fieldValue = Calendar.SUNDAY; in getText()
321 if (calWeekDay == Calendar.SUNDAY) { in toWeekDay()
394 for (int wday = Calendar.SUNDAY; wday <= Calendar.SATURDAY; wday++) { in createStore()
/libcore/ojluni/src/main/java/java/time/temporal/
DWeekFields.java214 public static final WeekFields SUNDAY_START = WeekFields.of(DayOfWeek.SUNDAY, 1);
291 DayOfWeek dow = DayOfWeek.SUNDAY.plus(weekData.firstDayOfWeek - 1); in of()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCalendar.annotated.java244 public static final int SUNDAY = 1; // 0x1 field in Calendar
/libcore/ojluni/annotations/hiddenapi/java/util/
DCalendar.java529 public static final int SUNDAY = 1; // 0x1 field in Calendar

12