Module net.anwiba.commons.utilities
Class ZonedDateTimeRange
java.lang.Object
net.anwiba.commons.utilities.time.ZonedDateTimeRange
- All Implemented Interfaces:
Serializable,IZonedDateTimeRange
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetFrom()getUntil()inthashCode()booleaninteract(ZonedDateTime time) booleaninteract(IZonedDateTimeRange segment) intersection(IZonedDateTimeRange segment) static IZonedDateTimeRangeof(ZonedDateTime from, Duration duration) static IZonedDateTimeRangeof(ZonedDateTime from, Period period)
-
Constructor Details
-
ZonedDateTimeRange
-
-
Method Details
-
of
-
of
-
getFrom
- Specified by:
getFromin interfaceIZonedDateTimeRange
-
getUntil
- Specified by:
getUntilin interfaceIZonedDateTimeRange
-
getCenter
- Specified by:
getCenterin interfaceIZonedDateTimeRange
-
getDuration
- Specified by:
getDurationin interfaceIZonedDateTimeRange
-
interact
- Specified by:
interactin interfaceIZonedDateTimeRange
-
interact
- Specified by:
interactin interfaceIZonedDateTimeRange
-
intersection
- Specified by:
intersectionin interfaceIZonedDateTimeRange
-
hashCode
public int hashCode() -
equals
-