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
public interface Offset<V> extends UnaryOperator<V>
Encapsulates an offset that can be applied to a value.- Author:
- Paul Ferraro
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classOffset.DefaultOffset<O,V>static classOffset.DurationOffsetstatic classOffset.InstantOffsetstatic classOffset.TemporalOffset<V>
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static Offset<Duration>forDuration(Duration offset)static Offset<Instant>forInstant(Duration offset)booleanisZero()Returns true if this offset is zero, false otherwise.
-