Obtains a fully variable value range.
Obtains a fully variable value range.
This factory obtains a range where both the minimum and maximum value may vary.
the smallest minimum value
the largest minimum value
the smallest maximum value
the largest maximum value
the ValueRange for smallest min, largest min, smallest max, largest max, not null
IllegalArgumentException
if
the smallest minimum is greater than the smallest maximum,
or the smallest maximum is greater than the largest maximum
or the largest minimum is greater than the largest maximum
Obtains a variable value range.
Obtains a variable value range.
This factory obtains a range where the minimum value is fixed and the maximum value may vary. For example, the ISO day-of-month always starts at 1, but ends between 28 and 31.
the minimum value
the smallest maximum value
the largest maximum value
the ValueRange for min, smallest max, largest max, not null
IllegalArgumentException
if
the minimum is greater than the smallest maximum,
or the smallest maximum is greater than the largest maximum
Obtains a fixed value range.
Obtains a fixed value range.
This factory obtains a range where the minimum and maximum values are fixed. For example, the ISO month-of-year always runs from 1 to 12.
the minimum value
the maximum value
the ValueRange for min, max, not null
IllegalArgumentException
if the minimum is greater than the maximum