Home
last modified time | relevance | path

Searched refs:isValidValue (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/test/java/time/test/java/time/temporal/
DTestDateTimeValueRange.java205 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/
DValueRange.java289 public boolean isValidValue(long value) { in isValidValue() method in ValueRange
303 return isIntValue() && isValidValue(value); in isValidIntValue()
318 if (isValidValue(value) == false) { in checkValidValue()
DTemporalAccessor.java223 if (range.isValidValue(value) == false) { in get()
DJulianFields.java287 if (range().isValidValue(newValue) == false) { in adjustInto()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatterBuilder.java3029 if (field.range().isValidValue(baseValue) == false) { in ReducedPrinterParser()
/libcore/api/
Dcurrent.txt12948 method public boolean isValidValue(long);