Interface Offset<V>
- Type Parameters:
V- the value to which the offset can be applied
- All Superinterfaces:
Function<V,,V> UnaryOperator<V>
- All Known Implementing Classes:
Offset.DefaultOffset,Offset.DurationOffset,Offset.InstantOffset,Offset.TemporalOffset
Encapsulates an offset that can be applied to a value.
- Author:
- Paul Ferraro
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic classstatic classstatic class -
Method Summary
Modifier and TypeMethodDescriptionforDuration(Duration offset) forInstant(Duration offset) booleanisZero()Returns true if this offset is zero, false otherwise.
-
Method Details
-
isZero
boolean isZero()Returns true if this offset is zero, false otherwise.- Returns:
- true if this offset is zero, false otherwise.
-
forDuration
-
forInstant
-