Module net.anwiba.commons.utilities
Interface ILocalDateTimeRange
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
LocalDateTimeRange,RelativeLocalDateTimeRange
-
Method Summary
Modifier and TypeMethodDescriptionduration(long value, TemporalUnit temporalUnit) getFrom()getUntil()booleaninteract(LocalDateTime time) booleaninteract(ILocalDateTimeRange segment) intersection(ILocalDateTimeRange segment) minus(long value, TemporalUnit unit) plus(long value, TemporalUnit unit) shift(long value, TemporalUnit unit) toRelative(TemporalUnit unit)
-
Method Details
-
getFrom
LocalDateTime getFrom() -
getUntil
LocalDateTime getUntil() -
getCenter
LocalDateTime getCenter() -
getDuration
TemporalAmount getDuration() -
getDurationFromUntilToNow
TemporalAmount getDurationFromUntilToNow() -
getDurationFromFromToNow
TemporalAmount getDurationFromFromToNow() -
interact
-
interact
-
intersection
-
shift
-
duration
-
plus
-
minus
-
toRelative
ILocalDateTimeRange toRelative() -
toRelative
-
toAbsolute
ILocalDateTimeRange toAbsolute()
-