/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKIsoFields.java | 322 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()
|
D | TCKTemporalAdjusters.java | 470 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);
|
D | TCKWeekFields.java | 157 … 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/ |
D | ImmutableGregorianDate.java | 93 public int getDayOfWeek() { in getDayOfWeek() method in ImmutableGregorianDate 94 return date.getDayOfWeek(); in getDayOfWeek()
|
D | CalendarDate.java | 211 public int getDayOfWeek() { in getDayOfWeek() method in CalendarDate 378 return getDayOfWeek() == date.getDayOfWeek() in isSameDate()
|
D | JulianCalendar.java | 224 public int getDayOfWeek(CalendarDate date) { in getDayOfWeek() method in JulianCalendar
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | IsoFields.java | 593 … 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/ |
D | HijrahDate.java | 364 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/ |
D | BaseCalendar.java | 84 public int getDayOfWeek(sun.util.calendar.CalendarDate date) { in getDayOfWeek() method in BaseCalendar
|
D | ImmutableGregorianDate.java | 87 public int getDayOfWeek() { in getDayOfWeek() method in ImmutableGregorianDate
|
D | CalendarDate.java | 96 public int getDayOfWeek() { in getDayOfWeek() method in CalendarDate
|
/libcore/ojluni/src/test/java/time/tck/java/time/zone/ |
D | TCKZoneOffsetTransitionRule.java | 169 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()
|
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/main/java/java/util/ |
D | GregorianCalendar.java | 1830 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()
|
D | Date.java | 796 return normalize().getDayOfWeek() - BaseCalendar.SUNDAY; in getDay() 1053 int index = date.getDayOfWeek(); in toString()
|
D | JapaneseImperialCalendar.java | 1396 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/ |
D | LocalDate.java | 660 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()
|
D | OffsetDateTime.java | 803 public DayOfWeek getDayOfWeek() { in getDayOfWeek() method in OffsetDateTime 804 return dateTime.getDayOfWeek(); in getDayOfWeek()
|
D | LocalDateTime.java | 811 public DayOfWeek getDayOfWeek() { in getDayOfWeek() method in LocalDateTime 812 return date.getDayOfWeek(); in getDayOfWeek()
|
/libcore/ojluni/src/main/java/java/time/zone/ |
D | ZoneOffsetTransitionRule.java | 407 public DayOfWeek getDayOfWeek() { in getDayOfWeek() method in ZoneOffsetTransitionRule
|
/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | OffsetDateTime.java | 205 public java.time.DayOfWeek getDayOfWeek() { in getDayOfWeek() method in OffsetDateTime
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeFormatters.java | 1424 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/ |
D | TCKOffsetDateTime.java | 522 assertEquals(a.getDayOfWeek(), localDate.getDayOfWeek());
|
D | TCKZonedDateTime.java | 842 assertEquals(a.getDayOfWeek(), localDate.getDayOfWeek());
|
D | TCKLocalDate.java | 767 assertSame(d.getDayOfWeek(), dow);
|