Class InstantRange
java.lang.Object
co.yellowdog.platform.model.InstantRange
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A builder that can be used to build a new InstantRange that is automatically validated on build. -
Constructor Summary
ConstructorsConstructorDescriptionInstantRange
(Instant minMax) Single parameter constructor used when a single value is expected, i.e., the value is both the minimum and maximum in the range.InstantRange
(Instant min, Instant max) -
Method Summary
-
Constructor Details
-
InstantRange
Single parameter constructor used when a single value is expected, i.e., the value is both the minimum and maximum in the range.- Parameters:
minMax
- the minimum and maximum value for this range
-
InstantRange
public InstantRange() -
InstantRange
-
-
Method Details
-
builder
-
toBuilder
-
getMin
-
getMax
-
setMin
-
setMax
-
equals
-
canEqual
-
hashCode
-
toString
-