Searched refs:isValidDay (Results 1 – 3 of 3) sorted by relevance
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKYearMonth.java | 1136 assertEquals(test.isValidDay(1), true); in test_isValidDay_int_june() 1137 assertEquals(test.isValidDay(30), true); in test_isValidDay_int_june() 1139 assertEquals(test.isValidDay(-1), false); in test_isValidDay_int_june() 1140 assertEquals(test.isValidDay(0), false); in test_isValidDay_int_june() 1141 assertEquals(test.isValidDay(31), false); in test_isValidDay_int_june() 1142 assertEquals(test.isValidDay(32), false); in test_isValidDay_int_june() 1148 assertEquals(test.isValidDay(1), true); in test_isValidDay_int_febNonLeap() 1149 assertEquals(test.isValidDay(28), true); in test_isValidDay_int_febNonLeap() 1151 assertEquals(test.isValidDay(-1), false); in test_isValidDay_int_febNonLeap() 1152 assertEquals(test.isValidDay(0), false); in test_isValidDay_int_febNonLeap() [all …]
|
D | TCKMonthDay.java | 785 if (YearMonth.of(leapYear, i).isValidDay(j)) { in test_hashCode_unique()
|
/libcore/ojluni/src/main/java/java/time/ |
D | YearMonth.java | 572 public boolean isValidDay(int dayOfMonth) { in isValidDay() method in YearMonth
|