ChronoField.checkValidIntValue

Checks that the specified value is valid and fits _in an {@code int}. !(p) This validates that the value is within the outer range of valid values returned by {@link #range()}. It also checks that all valid values are within the bounds of an {@code int}. !(p) This method checks against the range of the field _in the ISO-8601 calendar system. This range may be incorrect for other calendar systems. Use {@link Chronology#range(ChronoField)} to access the correct range for a different calendar system.

@param value the value to check @return the value that was passed _in

class ChronoField
int
checkValidIntValue
(
long value
)

Meta