/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKTemporalAdjusters.java | 118 assertEquals(test.getDayOfMonth(), 1); in test_firstDayOfMonth_nonLeap() 131 assertEquals(test.getDayOfMonth(), 1); in test_firstDayOfMonth_leap() 152 assertEquals(test.getDayOfMonth(), month.length(false)); in test_lastDayOfMonth_nonLeap() 165 assertEquals(test.getDayOfMonth(), month.length(true)); in test_lastDayOfMonth_leap() 186 assertEquals(test.getDayOfMonth(), 1); in test_firstDayOfNextMonth_nonLeap() 199 assertEquals(test.getDayOfMonth(), 1); in test_firstDayOfNextMonth_leap() 220 assertEquals(test.getDayOfMonth(), 1); in test_firstDayOfYear_nonLeap() 233 assertEquals(test.getDayOfMonth(), 1); in test_firstDayOfYear_leap() 254 assertEquals(test.getDayOfMonth(), 31); in test_lastDayOfYear_nonLeap() 267 assertEquals(test.getDayOfMonth(), 31); in test_lastDayOfYear_leap() [all …]
|
/libcore/ojluni/src/main/java/java/util/ |
D | JapaneseImperialCalendar.java | 287 if (!(lgd.getMonth() == BaseCalendar.JANUARY && lgd.getDayOfMonth() == 1)) { 426 set(DAY_OF_MONTH, d.getDayOfMonth()); in add() 434 set(DAY_OF_MONTH, d.getDayOfMonth()); in add() 602 if (internalGet(DAY_OF_MONTH) != d.getDayOfMonth()) { in roll() 652 if (jd.getDayOfMonth() > d.getDayOfMonth()) { in roll() 653 jd.setDayOfMonth(d.getDayOfMonth()); in roll() 656 if (jd.getDayOfMonth() == d.getDayOfMonth() in roll() 659 jd.setDayOfMonth(d.getDayOfMonth() - 1); in roll() 664 set(DAY_OF_MONTH, jd.getDayOfMonth()); in roll() 676 if (jd.getDayOfMonth() < d.getDayOfMonth()) { in roll() [all …]
|
D | GregorianCalendar.java | 1214 if (internalGet(DAY_OF_MONTH) != d.getDayOfMonth()) { in roll() 1353 set(DAY_OF_MONTH, d.getDayOfMonth()); in roll() 1405 dayOfMonth = d.getDayOfMonth(); in roll() 1429 set(DAY_OF_MONTH, d.getDayOfMonth()); in roll() 1446 set(DAY_OF_MONTH, d.getDayOfMonth()); in roll() 1481 set(d.getYear(), d.getMonth() - 1, d.getDayOfMonth()); in roll() 1516 set(DAY_OF_MONTH, d.getDayOfMonth()); in roll() 1622 return Math.max(MIN_VALUES[field], d.getDayOfMonth()); in getGreatestMinimum() 1704 return d.getDayOfMonth(); in getActualMinimum() 1777 if (!gc.isCutoverYear(normalizedYear) || date.getDayOfMonth() == value) { in getActualMaximum() [all …]
|
D | Date.java | 757 return normalize().getDayOfMonth(); in getDate() 1059 CalendarUtils.sprintf0d(sb, date.getDayOfMonth(), 2).append(' '); // dd in toString() 1146 CalendarUtils.sprintf0d(sb, date.getDayOfMonth(), 1).append(' '); // d in toGMTString() 1240 int d = date.getDayOfMonth(); in normalize()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | JapaneseDate.java | 283 jdate.setDate(yearOfEra, firstDay.getMonth(), firstDay.getDayOfMonth() + dayOfYear - 1); in ofYearDay() 292 jdate.getMonth(), jdate.getDayOfMonth()); in ofYearDay() 394 jcal.set(yearOfEra, isoDate.getMonthValue() - 1, isoDate.getDayOfMonth()); in lengthOfYear() 454 jcal.set(yearOfEra, isoDate.getMonthValue() - 1, isoDate.getDayOfMonth()); in range() 487 jcal.set(yearOfEra, isoDate.getMonthValue() - 1, isoDate.getDayOfMonth()); in getLong() 508 …Era(sunEra).setYear(year).setMonth(isoDate.getMonthValue()).setDayOfMonth(isoDate.getDayOfMonth()); in toPrivateJapaneseDate()
|
D | JapaneseEra.java | 184 LocalDate isoDate = LocalDate.of(date.getYear(), date.getMonth(), date.getDayOfMonth());
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestOffsetDateTime_instants.java | 103 assertEquals(test.getDayOfMonth(), 1 + (i >= 23 * 60 * 60 ? 1 : 0)); in factory_ofInstant_allSecsInDay() 161 assertEquals(test.getDayOfMonth(), 1); in factory_ofInstant_minWithMinOffset() 177 assertEquals(test.getDayOfMonth(), 1); in factory_ofInstant_minWithMaxOffset() 193 assertEquals(test.getDayOfMonth(), 31); in factory_ofInstant_maxWithMinOffset() 209 assertEquals(test.getDayOfMonth(), 31); in factory_ofInstant_maxWithMaxOffset()
|
D | TestMonthDay.java | 95 assertEquals(test.getDayOfMonth(), d); in check()
|
D | TestLocalDate.java | 97 int newDayOfMonth = date.getDayOfMonth() + 1; in next() 109 int newDayOfMonth = date.getDayOfMonth() - 1; in previous()
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | ImmutableGregorianDate.java | 81 public int getDayOfMonth() { in getDayOfMonth() method in ImmutableGregorianDate 82 return date.getDayOfMonth(); in getDayOfMonth()
|
D | LocalGregorianCalendar.java | 114 CalendarUtils.sprintf0d(sb, getDayOfMonth(), 2); in toString() 256 tmp.setEra(era).setDate(date.getYear(), date.getMonth(), date.getDayOfMonth()); in validate() 312 int day = ldate.getDayOfMonth(); in normalize() 313 int sinceDay = sinceDate.getDayOfMonth(); in normalize()
|
D | JulianCalendar.java | 107 CalendarUtils.sprintf0d(sb, getDayOfMonth(), 2); in toString()
|
D | CalendarDate.java | 185 public int getDayOfMonth() { in getDayOfMonth() method in CalendarDate
|
/libcore/ojluni/src/main/java/java/time/ |
D | MonthDay.java | 191 return MonthDay.of(now.getMonth(), now.getDayOfMonth()); in now() 487 public int getDayOfMonth() { in getDayOfMonth() method in MonthDay
|
D | LocalDate.java | 770 public int getDayOfMonth() { in getDayOfMonth() method in LocalDate 1618 long packed1 = getProlepticMonth() * 32L + getDayOfMonth(); // no overflow in monthsUntil() 1619 long packed2 = end.getProlepticMonth() * 32L + end.getDayOfMonth(); // no overflow in monthsUntil()
|
D | OffsetDateTime.java | 775 public int getDayOfMonth() { in getDayOfMonth() method in OffsetDateTime 776 return dateTime.getDayOfMonth(); in getDayOfMonth()
|
D | LocalDateTime.java | 783 public int getDayOfMonth() { in getDayOfMonth() method in LocalDateTime 784 return date.getDayOfMonth(); in getDayOfMonth()
|
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | IsoChronologyTest.java | 63 assertEquals(values[4], localDate.getDayOfMonth()); in test_dateYear()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKLocalizedPrinterParser.java | 146 … Date oldDate = new Date(date.getYear() - 1900, date.getMonthValue() - 1, date.getDayOfMonth()); in test_date_print() 158 … Date oldDate = new Date(date.getYear() - 1900, date.getMonthValue() - 1, date.getDayOfMonth()); in test_date_parse()
|
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/ |
D | ImmutableGregorianDate.java | 75 public int getDayOfMonth() { in getDayOfMonth() method in ImmutableGregorianDate
|
D | CalendarDate.java | 83 public int getDayOfMonth() { in getDayOfMonth() method in CalendarDate
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKZonedDateTime.java | 282 assertEquals(test.getDayOfMonth(), (i < 24 * 60 * 60 ? 1 : 2)); 313 assertEquals(test.getDayOfMonth(), 31); 343 assertEquals(test.getDayOfMonth(), d); 482 assertEquals(test.getDayOfMonth(), 1 + (i >= 23 * 60 * 60 ? 1 : 0)); 510 assertEquals(test.getDayOfMonth(), 1); 527 assertEquals(test.getDayOfMonth(), 1); 544 assertEquals(test.getDayOfMonth(), 31); 561 assertEquals(test.getDayOfMonth(), 31); 739 assertEquals(t.getDayOfMonth(), d); 771 assertEquals(t.getDayOfMonth(), d); [all …]
|
D | TCKLocalDate.java | 207 assertEquals(test.getDayOfMonth(), d); in check() 282 assertEquals(test.getDayOfMonth(), (i < 24 * 60 * 60 ? 1 : 2)); in now_Clock_allSecsInDay_utc() 294 assertEquals(test.getDayOfMonth(), (i < 24 * 60 * 60) ? 1 : 2); 306 assertEquals(test.getDayOfMonth(), (i >= -24 * 60 * 60 ? 31 : 30)); 458 int newDayOfMonth = date.getDayOfMonth() + 1; 470 int newDayOfMonth = date.getDayOfMonth() - 1; 543 assertEquals(t.getDayOfMonth(), d, parsable); 746 assertEquals(a.getDayOfMonth(), d);
|
D | TCKOffsetDateTime.java | 265 assertEquals(test.getDayOfMonth(), (i < 24 * 60 * 60 ? 1 : 2)); 282 assertEquals(test.getDayOfMonth(), (i < 24 * 60 * 60) ? 1 : 2); 300 assertEquals(test.getDayOfMonth(), 31); 336 assertEquals(test.getDayOfMonth(), d); 431 assertEquals(t.getDayOfMonth(), d); 520 assertEquals(a.getDayOfMonth(), localDate.getDayOfMonth());
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
D | FileTime.java | 453 append(sb, 10, ldt.getDayOfMonth()); in toString()
|