Searched refs:isValidValue (Results 1 – 5 of 5) sorted by relevance
/libcore/ojluni/src/test/java/time/test/java/time/temporal/ |
D | TestDateTimeValueRange.java | 194 assertEquals(test.isValidValue(0), false); in test_isValidValue_long() 195 assertEquals(test.isValidValue(1), true); in test_isValidValue_long() 196 assertEquals(test.isValidValue(2), true); in test_isValidValue_long() 197 assertEquals(test.isValidValue(30), true); in test_isValidValue_long() 198 assertEquals(test.isValidValue(31), true); in test_isValidValue_long() 199 assertEquals(test.isValidValue(32), false); in test_isValidValue_long() 207 assertEquals(test.isValidValue(0), false); in test_isValidValue_long_int() 208 assertEquals(test.isValidValue(1), true); in test_isValidValue_long_int() 209 assertEquals(test.isValidValue(31), true); in test_isValidValue_long_int() 210 assertEquals(test.isValidValue(32), false); in test_isValidValue_long_int()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | ValueRange.java | 281 public boolean isValidValue(long value) { in isValidValue() method in ValueRange 295 return isIntValue() && isValidValue(value); in isValidIntValue() 310 if (isValidValue(value) == false) { in checkValidValue()
|
D | TemporalAccessor.java | 223 if (range.isValidValue(value) == false) { in get()
|
D | JulianFields.java | 283 if (range().isValidValue(newValue) == false) { in adjustInto()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeFormatterBuilder.java | 2779 if (field.range().isValidValue(baseValue) == false) { in ReducedPrinterParser()
|