Represents a range of LocalDate, comprised of a lower and an upper bound.
When a lower or upper end point exists, it is a closed end point, i.e. the end point is part of the range.
When a lower or upper bound is undefined, it is an open end point with -Infinity or +Infinity as the value, respectively.
undefined
The lower bound should not be greater than the upper bound. If it is, the range is considered empty.
If you need an open range, simply change the lower or upper bound. This is always possible since LocalDate is a discrete domain.
Represents a range of LocalDate, comprised of a lower and an upper bound.
When a lower or upper end point exists, it is a closed end point, i.e. the end point is part of the range.
When a lower or upper bound is
undefined
, it is an open end point with -Infinity or +Infinity as the value, respectively.The lower bound should not be greater than the upper bound. If it is, the range is considered empty.
If you need an open range, simply change the lower or upper bound. This is always possible since LocalDate is a discrete domain.