Searched refs:isValidValue (Results 1 – 6 of 6) sorted by relevance
/libcore/ojluni/src/test/java/time/test/java/time/temporal/ |
D | TestDateTimeValueRange.java | 205 assertEquals(test.isValidValue(0), false); in test_isValidValue_long() 206 assertEquals(test.isValidValue(1), true); in test_isValidValue_long() 207 assertEquals(test.isValidValue(2), true); in test_isValidValue_long() 208 assertEquals(test.isValidValue(30), true); in test_isValidValue_long() 209 assertEquals(test.isValidValue(31), true); in test_isValidValue_long() 210 assertEquals(test.isValidValue(32), false); in test_isValidValue_long() 218 assertEquals(test.isValidValue(0), false); in test_isValidValue_long_int() 219 assertEquals(test.isValidValue(1), true); in test_isValidValue_long_int() 220 assertEquals(test.isValidValue(31), true); in test_isValidValue_long_int() 221 assertEquals(test.isValidValue(32), false); in test_isValidValue_long_int()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | ValueRange.java | 289 public boolean isValidValue(long value) { in isValidValue() method in ValueRange 303 return isIntValue() && isValidValue(value); in isValidIntValue() 318 if (isValidValue(value) == false) { in checkValidValue()
|
D | TemporalAccessor.java | 223 if (range.isValidValue(value) == false) { in get()
|
D | JulianFields.java | 287 if (range().isValidValue(newValue) == false) { in adjustInto()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeFormatterBuilder.java | 3029 if (field.range().isValidValue(baseValue) == false) { in ReducedPrinterParser()
|
/libcore/api/ |
D | current.txt | 12948 method public boolean isValidValue(long);
|