/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 | 57 Calendar.MARCH, -1, Calendar.SUNDAY, 3600000, SimpleTimeZone.UTC_TIME, in testDstParis2014_LastSundayMarch_LastSundayOctober_UtcTime() 58 Calendar.OCTOBER, -1, Calendar.SUNDAY, 3600000, SimpleTimeZone.UTC_TIME, 3600000); in testDstParis2014_LastSundayMarch_LastSundayOctober_UtcTime() 65 Calendar.MARCH, 25, -Calendar.SUNDAY, 3600000, SimpleTimeZone.UTC_TIME, in testDstParis2014_SundayAfter25thMarch_SundayAfter25thOctober_UtcTime() 66 Calendar.OCTOBER, 25, -Calendar.SUNDAY, 3600000, SimpleTimeZone.UTC_TIME, 3600000); in testDstParis2014_SundayAfter25thMarch_SundayAfter25thOctober_UtcTime() 91 Calendar.APRIL, 1, -Calendar.SUNDAY, 7200000, in testDst_1stSundayApril_1stSundayOctober_DefaultTime() 92 Calendar.OCTOBER, -1, Calendar.SUNDAY, 7200000, in testDst_1stSundayApril_1stSundayOctober_DefaultTime() 116 Calendar.MARCH, 2, Calendar.SUNDAY, 7200000, SimpleTimeZone.STANDARD_TIME, in testDstNewYork2014_2ndSundayMarch_1stSundayNovember_StandardTime() 117 Calendar.NOVEMBER, 1, Calendar.SUNDAY, 3600000, SimpleTimeZone.STANDARD_TIME, in testDstNewYork2014_2ndSundayMarch_1stSundayNovember_StandardTime() 125 Calendar.MARCH, 2, Calendar.SUNDAY, 25200000, SimpleTimeZone.UTC_TIME, in testDstNewYork2014_2ndSundayMarch_1stSundayNovember_UtcTime() 126 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()
|
/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 …]
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestTextPrinterWithLocale.java | 101 {Locale.US, "e", "1", DayOfWeek.SUNDAY}, in providerDayOfWeekData() 102 {Locale.US, "ee", "01", DayOfWeek.SUNDAY}, in providerDayOfWeekData() 103 {Locale.US, "c", "1", DayOfWeek.SUNDAY}, in providerDayOfWeekData()
|
D | TestTextParserWithLocale.java | 105 {Locale.US, "e", "1", DayOfWeek.SUNDAY}, in providerDayOfWeekData() 106 {Locale.US, "ee", "01", DayOfWeek.SUNDAY}, in providerDayOfWeekData() 107 {Locale.US, "c", "1", DayOfWeek.SUNDAY}, in providerDayOfWeekData()
|
D | TestTextPrinter.java | 211 {Locale.US, "e", "1", DayOfWeek.SUNDAY}, in providerDayOfWeekData() 212 {Locale.US, "ee", "01", DayOfWeek.SUNDAY}, in providerDayOfWeekData() 213 {Locale.US, "c", "1", DayOfWeek.SUNDAY}, in providerDayOfWeekData()
|
D | TestTextParser.java | 211 {Locale.US, "e", "1", DayOfWeek.SUNDAY}, in providerDayOfWeekData() 212 {Locale.US, "ee", "01", DayOfWeek.SUNDAY}, in providerDayOfWeekData() 213 {Locale.US, "c", "1", DayOfWeek.SUNDAY}, in providerDayOfWeekData()
|
D | TestUnicodeExtension.java | 303 {Locale.US, DayOfWeek.SUNDAY}, in firstDayOfWeek() 304 {FW_SUN, DayOfWeek.SUNDAY}, in firstDayOfWeek() 313 {Locale.forLanguageTag("en-US-u-fw-xxx"), DayOfWeek.SUNDAY}, in firstDayOfWeek()
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKWeekFields.java | 132 assertEquals(date.get(WeekFields.of(DayOfWeek.SUNDAY, 1).dayOfWeek()), 2); in test_dayOfWeekField_simpleGet() 133 assertEquals(date.get(WeekFields.of(DayOfWeek.SUNDAY, 7).dayOfWeek()), 2); in test_dayOfWeekField_simpleGet() 737 {WeekFields.of(DayOfWeek.SUNDAY, 1), 2008, 52, 7, LocalDate.of(2008, 12, 27)}, in provider_WeekBasedYearData() 738 {WeekFields.of(DayOfWeek.SUNDAY, 1), 2009, 1, 1, LocalDate.of(2008, 12, 28)}, in provider_WeekBasedYearData() 739 {WeekFields.of(DayOfWeek.SUNDAY, 1), 2009, 1, 2, LocalDate.of(2008, 12, 29)}, in provider_WeekBasedYearData() 740 {WeekFields.of(DayOfWeek.SUNDAY, 1), 2009, 1, 3, LocalDate.of(2008, 12, 30)}, in provider_WeekBasedYearData() 741 {WeekFields.of(DayOfWeek.SUNDAY, 1), 2009, 1, 4, LocalDate.of(2008, 12, 31)}, in provider_WeekBasedYearData() 742 {WeekFields.of(DayOfWeek.SUNDAY, 1), 2009, 1, 5, LocalDate.of(2009, 1, 1)}, in provider_WeekBasedYearData() 743 {WeekFields.of(DayOfWeek.SUNDAY, 1), 2009, 2, 1, LocalDate.of(2009, 1, 4)}, in provider_WeekBasedYearData() 744 {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; 306 {LocalDate.of(2012, 12, 23), SUNDAY, 51, 2012}, in data_week() 311 {LocalDate.of(2012, 12, 30), SUNDAY, 52, 2012}, in data_week() 315 {LocalDate.of(2013, 1, 6), SUNDAY, 1, 2013}, in data_week()
|
/libcore/ojluni/src/test/java/util/TimeZone/ |
D | SimpleTimeZoneCloneRaceTest.java | 91 Calendar.APRIL, 1, -Calendar.SUNDAY, in createSTZ() 93 Calendar.OCTOBER, -1, Calendar.SUNDAY, in createSTZ()
|
/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 | 160 return calendarDayOfWeek == SUNDAY ? 7 : calendarDayOfWeek - 1; in toISODayOfWeek() 168 return isoDayOfWeek == 7 ? SUNDAY : isoDayOfWeek + 1; in toCalendarDayOfWeek()
|
/libcore/ojluni/src/main/java/java/util/ |
D | SimpleTimeZone.java | 660 || (dayOfWeek < Calendar.SUNDAY || dayOfWeek > Calendar.SATURDAY) in getOffset() 1471 startDayOfWeek = Calendar.SUNDAY; in makeRulesCompatible() 1494 endDayOfWeek = Calendar.SUNDAY; in makeRulesCompatible() 1665 startDayOfWeek = Calendar.SUNDAY; in readObject() 1668 endDayOfWeek = Calendar.SUNDAY; in readObject()
|
D | Date.java | 795 return normalize().getDayOfWeek() - BaseCalendar.SUNDAY; in getDay() 1056 if (index == BaseCalendar.SUNDAY) { in toString()
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | BaseCalendar.java | 55 public static final int SUNDAY = 1; field in BaseCalendar 483 return (int)(fixedDate % 7) + SUNDAY; in getDayOfWeekFromFixedDate() 485 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/src/main/java/java/time/format/ |
D | DateTimeTextProvider.java | 195 fieldValue = Calendar.SUNDAY; in getText() 325 if (calWeekDay == Calendar.SUNDAY) { in toWeekDay() 407 for (int wday = Calendar.SUNDAY; wday <= Calendar.SATURDAY; wday++) { in createStore() 427 for (int wday = Calendar.SUNDAY; wday <= Calendar.SATURDAY; wday++) { in createStore()
|
/libcore/ojluni/src/main/java/java/time/ |
D | DayOfWeek.java | 145 SUNDAY; enumConstant
|
/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/sun/util/locale/provider/ |
D | CalendarDataUtility.java | 102 return SUNDAY; in retrieveFirstDayOfWeek()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | WeekFields.java | 224 public static final WeekFields SUNDAY_START = WeekFields.of(DayOfWeek.SUNDAY, 1); 310 DayOfWeek dow = DayOfWeek.SUNDAY.plus(calDow - 1); in of()
|
/libcore/ojluni/src/test/java/time/test/java/time/zone/ |
D | TestZoneRules.java | 190 DayOfWeek.SUNDAY, in test_TransitionLastRuleYear()
|