Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/util/
DCalendarWeekOfMonthTest.java50 { 1462107600000L, "01 May 2016", Calendar.MONDAY, 4, 0 }, in data()
51 { 1462194000000L, "02 May 2016", Calendar.MONDAY, 4, 1 }, in data()
52 { 1462798800000L, "09 May 2016", Calendar.MONDAY, 4, 2 }, in data()
53 { 1463403600000L, "16 May 2016", Calendar.MONDAY, 4, 3 }, in data()
54 { 1464008400000L, "23 May 2016", Calendar.MONDAY, 4, 4 }, in data()
55 { 1464613200000L, "30 May 2016", Calendar.MONDAY, 4, 5 }, in data()
56 { 1464786000000L, "01 Jun 2016", Calendar.MONDAY, 4, 1 }, in data()
57 { 1465218000000L, "06 Jun 2016", Calendar.MONDAY, 4, 2 }, in data()
58 { 1465822800000L, "13 Jun 2016", Calendar.MONDAY, 4, 3 }, in data()
59 { 1466427600000L, "20 Jun 2016", Calendar.MONDAY, 4, 4 }, in data()
[all …]
DGregorianCalendarTest.java70 int differentDayOfWeek = greg.get(Calendar.DAY_OF_WEEK) == Calendar.MONDAY in test_computeFields_dayOfWeekAndWeekOfYearSet()
71 ? Calendar.TUESDAY : Calendar.MONDAY; in test_computeFields_dayOfWeekAndWeekOfYearSet()
DCalendarBuilderTest.java51 expected.setFirstDayOfWeek(Calendar.MONDAY); in test_setCalendarType_iso8601()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKDayOfWeek.java62 import static java.time.DayOfWeek.MONDAY;
104 TemporalAccessor[] array = {MONDAY, WEDNESDAY, SUNDAY, }; in samples()
149 assertEquals(DayOfWeek.from(LocalDate.of(2011, 6, 6)), DayOfWeek.MONDAY); in test_factory_CalendricalObject()
249 assertEquals(DayOfWeek.MONDAY.getDisplayName(TextStyle.SHORT, Locale.US), "Mon"); in test_getText()
254 DayOfWeek.MONDAY.getDisplayName(null, Locale.US); in test_getText_nullStyle()
259 DayOfWeek.MONDAY.getDisplayName(TextStyle.FULL, null); in test_getText_nullLocale()
345 … assertEquals(DayOfWeek.MONDAY.adjustInto(LocalDate.of(2012, 9, 2)), LocalDate.of(2012, 8, 27)); in test_adjustInto()
346 … assertEquals(DayOfWeek.MONDAY.adjustInto(LocalDate.of(2012, 9, 3)), LocalDate.of(2012, 9, 3)); in test_adjustInto()
347 … assertEquals(DayOfWeek.MONDAY.adjustInto(LocalDate.of(2012, 9, 4)), LocalDate.of(2012, 9, 3)); in test_adjustInto()
348 … assertEquals(DayOfWeek.MONDAY.adjustInto(LocalDate.of(2012, 9, 10)), LocalDate.of(2012, 9, 10)); in test_adjustInto()
[all …]
DTCKLocalDate.java762 DayOfWeek dow = DayOfWeek.MONDAY;
DTCKLocalDateTime.java1117 DayOfWeek dow = DayOfWeek.MONDAY;
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKTemporalAdjusters.java62 import static java.time.DayOfWeek.MONDAY;
311 assertNotNull(TemporalAdjusters.dayOfWeekInMonth(1, MONDAY)); in factory_dayOfWeekInMonth()
409 assertNotNull(TemporalAdjusters.firstInMonth(MONDAY)); in factory_firstInMonth()
431 assertNotNull(TemporalAdjusters.lastInMonth(MONDAY)); in factory_lastInMonth()
453 assertNotNull(TemporalAdjusters.next(MONDAY)); in factory_next()
492 assertNotNull(TemporalAdjusters.nextOrSame(MONDAY));
533 assertNotNull(TemporalAdjusters.previous(MONDAY));
572 assertNotNull(TemporalAdjusters.previousOrSame(MONDAY));
DTCKIsoFields.java60 import static java.time.DayOfWeek.MONDAY;
302 {LocalDate.of(1969, 12, 29), MONDAY, 1, 1970}, in data_week()
304 {LocalDate.of(2012, 12, 24), MONDAY, 52, 2012}, in data_week()
309 {LocalDate.of(2012, 12, 31), MONDAY, 1, 2013}, in data_week()
313 {LocalDate.of(2013, 1, 7), MONDAY, 2, 2013}, in data_week()
454 if (loopDow == MONDAY) { in test_loop()
DTCKWeekFields.java127 assertEquals(date.get(WeekFields.of(DayOfWeek.MONDAY, 1).dayOfWeek()), 1); in test_dayOfWeekField_simpleGet()
128 assertEquals(date.get(WeekFields.of(DayOfWeek.MONDAY, 7).dayOfWeek()), 1); in test_dayOfWeekField_simpleGet()
762 {LocalDate.of(1969, 12, 29), DayOfWeek.MONDAY, 1, 1970}, in data_week()
764 {LocalDate.of(2012, 12, 24), DayOfWeek.MONDAY, 52, 2012}, in data_week()
769 {LocalDate.of(2012, 12, 31), DayOfWeek.MONDAY, 1, 2013}, in data_week()
773 {LocalDate.of(2013, 1, 7), DayOfWeek.MONDAY, 2, 2013}, in data_week()
801 assertTrue(weekDef_iso.equals(WeekFields.of(DayOfWeek.MONDAY, 4))); in test_equals()
803 assertEquals(weekDef_iso.hashCode(), WeekFields.of(DayOfWeek.MONDAY, 4).hashCode()); in test_equals()
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/
DTCKWeekFieldsSerialization.java103 WeekFields wf = WeekFields.of(DayOfWeek.MONDAY, 7); in test_invalid_serialform()
115 assertEquals(o, WeekFields.of(DayOfWeek.MONDAY, 5), "Should be MONDAY, min = 5"); in test_invalid_serialform()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCalendarTest.java74 cal.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY); in test_setII()
129 cal.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY); in test_setII()
140 cal.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY); in test_setII()
170 cal.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY); in test_setII()
181 cal.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY); in test_setII()
192 cal.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY); in test_setII()
201 cal.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY); in test_setII()
231 cal.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY); in test_setII()
240 cal.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY); in test_setII()
250 cal.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY); in test_setII()
[all …]
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestTextPrinter.java217 {Locale.UK, "e", "1", DayOfWeek.MONDAY}, in providerDayOfWeekData()
218 {Locale.UK, "ee", "01", DayOfWeek.MONDAY}, in providerDayOfWeekData()
219 {Locale.UK, "c", "1", DayOfWeek.MONDAY}, in providerDayOfWeekData()
DTestTextParser.java229 {Locale.UK, "e", "1", DayOfWeek.MONDAY}, in providerDayOfWeekData()
230 {Locale.UK, "ee", "01", DayOfWeek.MONDAY}, in providerDayOfWeekData()
231 {Locale.UK, "c", "1", DayOfWeek.MONDAY}, in providerDayOfWeekData()
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/
DBaseCalendar.java154 public static final int MONDAY = 2; // 0x2 field in BaseCalendar
/libcore/ojluni/src/main/java/java/time/
DDayOfWeek.java115 MONDAY, enumConstant
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeFormatter.java288 {null, null, DayOfWeek.MONDAY, "::::"}, in data_format_withZone_withChronology()
298 {IsoChronology.INSTANCE, null, DayOfWeek.MONDAY, "::::ISO"}, in data_format_withZone_withChronology()
308 {null, ZONE_PARIS, DayOfWeek.MONDAY, ":::Europe/Paris:"}, in data_format_withZone_withChronology()
318 {null, OFFSET_PTHREE, DayOfWeek.MONDAY, ":::+03:00:"}, in data_format_withZone_withChronology()
328 … {ThaiBuddhistChronology.INSTANCE, null, DayOfWeek.MONDAY, null}, // not a complete date in data_format_withZone_withChronology()
338 … {ThaiBuddhistChronology.INSTANCE, null, DayOfWeek.MONDAY, null}, // not a complete date in data_format_withZone_withChronology()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCalendar.annotated.java218 public static final int MONDAY = 2; // 0x2 field in Calendar
/libcore/ojluni/src/main/java/sun/util/calendar/
DBaseCalendar.java56 public static final int MONDAY = 2; field in BaseCalendar
/libcore/ojluni/annotations/hiddenapi/java/util/
DCalendar.java497 public static final int MONDAY = 2; // 0x2 field in Calendar
/libcore/ojluni/src/main/java/java/util/
DCalendar.java579 public final static int MONDAY = 2; field in Calendar
1490 setWeekDefinition(MONDAY, 4); in build()
DGregorianCalendar.java3458 cal.setFirstDayOfWeek(MONDAY); in from()
/libcore/ojluni/src/main/java/java/time/temporal/
DWeekFields.java205 public static final WeekFields ISO = new WeekFields(DayOfWeek.MONDAY, 4);
/libcore/luni/src/test/java/libcore/java/text/
DSimpleDateFormatTest.java575 assertEquals(Calendar.MONDAY, parseDateUtc(en, "uu", "1").get(Calendar.DAY_OF_WEEK)); in testDayNumberOfWeek()
/libcore/ojluni/src/test/java/time/tck/java/time/zone/
DTCKZoneRules.java1013 DayOfWeek.MONDAY, in test_of()
/libcore/api/
Dcurrent.txt10605 enum_constant public static final java.time.DayOfWeek MONDAY;
12543 field public static final int MONDAY = 2; // 0x2