Package overit.geocall.model.date
Class ZonedDateTimeRange
java.lang.Object
overit.geocall.model.DynO
overit.geocall.model.date.ZonedDateTimeRange
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
This object allows to specify a range between two
ZonedDateTime.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.model.DynO
DynO.SpanFields, DynO.SpanTable, DynO.Valid -
Constructor Summary
ConstructorsConstructorDescriptionZonedDateTimeRange(ZonedDateTime from, ZonedDateTime to) Create a new range instance. -
Method Summary
Methods inherited from class overit.geocall.model.DynO
addExtension, extract, extract, fields, from, from, getCriteria, getCriteriaNotExploded, getExtension, getFakeFilter, getUnknownAttributes, getUnknownCriteria, getVariant, getZone, insert, insert, isValid, make, removeCriteria, removeExtensionAttribute, setCriteria, setCriteriaNotExploded, setExtension, setFakeFilter, setUnknownAttributes, setUnknownCriteria, setVariant, setZone, toFlatMap, toFlatMap, toMap, toMap, toString, update, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.validation.ConstraintValidator
initializeMethods inherited from interface overit.geocall.timezone.model.TimeZoned
hasZone
-
Constructor Details
-
ZonedDateTimeRange
Create a new range instance.- Parameters:
from- range startto- range end- Throws:
IllegalArgumentException- if both arguments are valued but from is later than to
-
-
Method Details
-
getFrom
- Returns:
- the range start or
nullif not specified
-
getTo
- Returns:
- the range end or
nullif not specified
-