public static ValueRange of (long min, long max)

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.

Parameters:
min    the minimum value
max    the maximum value

Returns:  the ValueRange for min, max, not null

Exceptions:
IllegalArgumentException    if the minimum is greater than the maximum