public interface TemporalWrapper<T>
| Modifier and Type | Method and Description |
|---|---|
long |
difference(T other,
ChronoUnit unit)
Return the difference in units between this time and the other time in the given units
|
boolean |
isAfter(T other) |
boolean |
isBefore(T other) |
boolean |
isSame(T other) |
boolean |
isSameDay(T other) |
T |
unwrap() |
boolean isAfter(T other)
other - a temporal to test againsttrue if this temporal is after the otherboolean isBefore(T other)
other - a temporal to test againsttrue if this temporal is after the otherboolean isSame(T other)
other - a temporal to test againsttrue if this temporal is after the otherboolean isSameDay(T other)
other - a temporal to test againsttrue if this temporal is after the otherT unwrap()
long difference(T other, ChronoUnit unit)
Copyright © 2015. All rights reserved.