/libcore/luni/src/test/java/libcore/java/util/ |
D | CalendarWeekOfMonthTest.java | 128 { 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 …]
|
D | SimpleTimeZoneTest.java | 55 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 …]
|
D | OldAndroidLocaleTest.java | 61 assertEquals("Sunday", engSymbols.getWeekdays()[Calendar.SUNDAY]); in testResourceBundles() 62 assertEquals("Sonntag", deuSymbols.getWeekdays()[Calendar.SUNDAY]); in testResourceBundles()
|
D | CalendarTest.java | 209 calendar.setFirstDayOfWeek(Calendar.SUNDAY); in testCalendarSerialization()
|
D | GregorianCalendarTest.java | 237 cal.setWeekDate(2016, 13, Calendar.SUNDAY - 1); in test_setWeekDate()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | SimpleTimeZoneTest.java | 54 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/ |
D | TCKZoneOffsetTransitionRule.java | 92 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 …]
|
D | TCKZoneRules.java | 377 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/ |
D | TCKWeekFields.java | 130 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 …]
|
D | TCKIsoFields.java | 62 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/ |
D | TCKZoneOffsetTransitionRuleSerialization.java | 115 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/ |
D | CalendarBuilder.java | 165 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/ |
D | TestTextPrinter.java | 213 {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()
|
D | TestTextParser.java | 225 {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/ |
D | SimpleTimeZone.java | 660 || (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()
|
D | Date.java | 796 return normalize().getDayOfWeek() - BaseCalendar.SUNDAY; in getDay() 1054 if (index == BaseCalendar.SUNDAY) { in toString()
|
D | GregorianCalendar.java | 448 SUNDAY, // DAY_OF_WEEK 2208 if (dayOfWeek < SUNDAY || dayOfWeek > SATURDAY) { in setWeekDate()
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | BaseCalendar.java | 55 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/ |
D | TCKDayOfWeek.java | 63 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/ |
D | BaseCalendar.java | 164 public static final int SUNDAY = 1; // 0x1 field in BaseCalendar
|
/libcore/ojluni/src/main/java/java/time/ |
D | DayOfWeek.java | 145 SUNDAY; enumConstant
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeTextProvider.java | 191 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/ |
D | WeekFields.java | 214 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/ |
D | Calendar.annotated.java | 244 public static final int SUNDAY = 1; // 0x1 field in Calendar
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Calendar.java | 529 public static final int SUNDAY = 1; // 0x1 field in Calendar
|