ValueRange.of

Obtains a fixed value range. !(p) 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.

@param min the minimum value @param max the maximum value @return the ValueRange for min, max, not null @throws IllegalArgumentException if the minimum is greater than the maximum

Meta