Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/time/test/java/time/temporal/
DTestDateTimeValueRange.java194 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/
DValueRange.java281 public boolean isValidValue(long value) { in isValidValue() method in ValueRange
295 return isIntValue() && isValidValue(value); in isValidIntValue()
310 if (isValidValue(value) == false) { in checkValidValue()
DTemporalAccessor.java223 if (range.isValidValue(value) == false) { in get()
DJulianFields.java283 if (range().isValidValue(newValue) == false) { in adjustInto()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatterBuilder.java2779 if (field.range().isValidValue(baseValue) == false) { in ReducedPrinterParser()