public interface TemporalFieldWrapper<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAfter(T other) |
boolean |
isBefore(T other) |
boolean |
isSame(T other) |
int |
unwrap() |
TemporalFieldWrapper<T> |
withZone(ZoneId zone)
Makes a copy of this wrapper based on a given time zone.
|
boolean isAfter(T other)
other - a temporal to test againsttrue if this temporal field is after the otherboolean isBefore(T other)
other - a temporal to test againsttrue if this temporal field is before the otherboolean isSame(T other)
other - a temporal to test againsttrue if this temporal field is the same as the otherint unwrap()
TemporalFieldWrapper<T> withZone(ZoneId zone)
zone - a new reference time zoneCopyright © 2019. All rights reserved.