Home
last modified time | relevance | path

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

12

/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKIsoFields.java322 assertEquals(date.getDayOfWeek(), dow); in test_WOWBY()
337 assertEquals(date.getDayOfWeek(), dow); in test_WBY()
450 DayOfWeek loopDow = date.getDayOfWeek(); in test_loop()
459 DayOfWeek firstDay = firstDayOfWeekBasedYear.getDayOfWeek(); in test_loop()
464 ….rangeRefinedBy(date), ValueRange.of(1, weekLen), "Failed on " + date + " " + date.getDayOfWeek()); in test_loop()
465 …elds.WEEK_OF_WEEK_BASED_YEAR.getFrom(date), week, "Failed on " + date + " " + date.getDayOfWeek()); in test_loop()
466 …ate.get(IsoFields.WEEK_OF_WEEK_BASED_YEAR), week, "Failed on " + date + " " + date.getDayOfWeek()); in test_loop()
467 …als(IsoFields.WEEK_BASED_YEAR.getFrom(date), wby, "Failed on " + date + " " + date.getDayOfWeek()); in test_loop()
468 …tEquals(date.get(IsoFields.WEEK_BASED_YEAR), wby, "Failed on " + date + " " + date.getDayOfWeek()); in test_loop()
DTCKTemporalAdjusters.java470 assertSame(test.getDayOfWeek(), dow, date + " " + test); in test_next()
509 assertSame(test.getDayOfWeek(), dow);
514 assertEquals(date.equals(test), date.getDayOfWeek() == dow);
516 assertFalse(date.getDayOfWeek() == dow);
550 assertSame(test.getDayOfWeek(), dow, date + " " + test);
589 assertSame(test.getDayOfWeek(), dow);
594 assertEquals(date.equals(test), date.getDayOfWeek() == dow);
596 assertFalse(date.getDayOfWeek() == dow);
DTCKWeekFields.java157 … assertEquals(day.get(f), (7 + day.getDayOfWeek().getValue() - firstDayOfWeek.getValue()) % 7 + 1); in test_dayOfWeekField()
190 week, day.getDayOfWeek(), offset, actualDOW, actualWOM, day, result)); in test_weekOfMonthField()
221 week, day.getDayOfWeek(), offset, actualDOW, actualWOY, day, result)); in test_weekOfYearField()
249 DayOfWeek isoDOW = day1.getDayOfWeek(); in test_weekOfWeekBasedYearField()
263 … weekDef, day.getDayOfWeek(), weekStart, actualDOW, actualWOWBY, actualYOWBY, day, result)); in test_weekOfWeekBasedYearField()
/libcore/ojluni/src/main/java/sun/util/calendar/
DImmutableGregorianDate.java93 public int getDayOfWeek() { in getDayOfWeek() method in ImmutableGregorianDate
94 return date.getDayOfWeek(); in getDayOfWeek()
DCalendarDate.java211 public int getDayOfWeek() { in getDayOfWeek() method in CalendarDate
378 return getDayOfWeek() == date.getDayOfWeek() in isSameDate()
DJulianCalendar.java224 public int getDayOfWeek(CalendarDate date) { in getDayOfWeek() method in JulianCalendar
/libcore/ojluni/src/main/java/java/time/temporal/
DIsoFields.java593 … if (date.getDayOfWeek() == THURSDAY || (date.getDayOfWeek() == WEDNESDAY && date.isLeapYear())) { in getWeekRange()
600 int dow0 = date.getDayOfWeek().ordinal(); in getWeek()
625 int dow = date.getDayOfWeek().ordinal(); in getWeekBasedYear()
630 int dow = date.getDayOfWeek().ordinal(); in getWeekBasedYear()
/libcore/ojluni/src/main/java/java/time/chrono/
DHijrahDate.java364 case DAY_OF_WEEK: return getDayOfWeek(); in getLong()
365 case ALIGNED_DAY_OF_WEEK_IN_MONTH: return ((getDayOfWeek() - 1) % 7) + 1; in getLong()
395 case DAY_OF_WEEK: return plusDays(newValue - getDayOfWeek()); in with()
493 private int getDayOfWeek() { in getDayOfWeek() method in HijrahDate
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/
DBaseCalendar.java84 public int getDayOfWeek(sun.util.calendar.CalendarDate date) { in getDayOfWeek() method in BaseCalendar
DImmutableGregorianDate.java87 public int getDayOfWeek() { in getDayOfWeek() method in ImmutableGregorianDate
DCalendarDate.java96 public int getDayOfWeek() { in getDayOfWeek() method in CalendarDate
/libcore/ojluni/src/test/java/time/tck/java/time/zone/
DTCKZoneOffsetTransitionRule.java169 assertEquals(test.getDayOfWeek(), DayOfWeek.SUNDAY); in test_getters_floatingWeek()
185 assertEquals(test.getDayOfWeek(), DayOfWeek.SUNDAY); in test_getters_floatingWeekBackwards()
201 assertEquals(test.getDayOfWeek(), null); in test_getters_fixedDate()
DTCKZoneRules.java377 assertEquals(in.getDayOfWeek(), DayOfWeek.SUNDAY); in test_London_getTransitionRules()
388 assertEquals(out.getDayOfWeek(), DayOfWeek.SUNDAY); in test_London_getTransitionRules()
/libcore/ojluni/src/main/java/java/util/
DGregorianCalendar.java1830 int dayOfWeek = cal.getDayOfWeek(d); in getActualMaximum()
1863 int dayOfWeek = cal.getDayOfWeek(d); in getActualMaximum()
1901 int dow = date.getDayOfWeek(); in getActualMaximum()
1907 dow1 = d.getDayOfWeek(); in getActualMaximum()
2422 assert cdate.getDayOfWeek() > 0 : "dow="+cdate.getDayOfWeek()+", date="+cdate; in computeFields()
2448 internalSet(DAY_OF_WEEK, cdate.getDayOfWeek()); in computeFields()
DDate.java796 return normalize().getDayOfWeek() - BaseCalendar.SUNDAY; in getDay()
1053 int index = date.getDayOfWeek(); in toString()
DJapaneseImperialCalendar.java1396 int dayOfWeek = gcal.getDayOfWeek(d); in getActualMaximum()
1432 int dayOfWeek = gcal.getDayOfWeek(d); in getActualMaximum()
1461 int dow = date.getDayOfWeek(); in getActualMaximum()
1466 dow1 = d.getDayOfWeek(); in getActualMaximum()
1660 internalSet(DAY_OF_WEEK, jdate.getDayOfWeek()); in computeFields()
/libcore/ojluni/src/main/java/java/time/
DLocalDate.java660 case DAY_OF_WEEK: return getDayOfWeek().getValue(); in get0()
798 public DayOfWeek getDayOfWeek() { in getDayOfWeek() method in LocalDate
1019 case DAY_OF_WEEK: return plusDays(newValue - getDayOfWeek().getValue()); in with()
DOffsetDateTime.java803 public DayOfWeek getDayOfWeek() { in getDayOfWeek() method in OffsetDateTime
804 return dateTime.getDayOfWeek(); in getDayOfWeek()
DLocalDateTime.java811 public DayOfWeek getDayOfWeek() { in getDayOfWeek() method in LocalDateTime
812 return date.getDayOfWeek(); in getDayOfWeek()
/libcore/ojluni/src/main/java/java/time/zone/
DZoneOffsetTransitionRule.java407 public DayOfWeek getDayOfWeek() { in getDayOfWeek() method in ZoneOffsetTransitionRule
/libcore/ojluni/annotations/hiddenapi/java/time/
DOffsetDateTime.java205 public java.time.DayOfWeek getDayOfWeek() { in getDayOfWeek() method in OffsetDateTime
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeFormatters.java1424 fields.put(DAY_OF_WEEK, (long) dt.getDayOfWeek().getValue()); in setFields()
1436 fields.put(DAY_OF_WEEK, (long) dt.getDayOfWeek().getValue()); in setFields()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKOffsetDateTime.java522 assertEquals(a.getDayOfWeek(), localDate.getDayOfWeek());
DTCKZonedDateTime.java842 assertEquals(a.getDayOfWeek(), localDate.getDayOfWeek());
DTCKLocalDate.java767 assertSame(d.getDayOfWeek(), dow);

12