public interface Timestamp extends Comparable<Timestamp>
 Classes implementing this interface must also implement
 hashCode() and equals(Object).
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)  | 
int | 
hashCode()  | 
default boolean | 
isNewerThan(Timestamp other)
Tests if this timestamp is newer than the specified timestamp. 
 | 
default boolean | 
isOlderThan(Timestamp other)
Tests if this timestamp is older than the specified timestamp. 
 | 
compareTodefault boolean isNewerThan(Timestamp other)
other - timestamp to compare againstdefault boolean isOlderThan(Timestamp other)
other - timestamp to compare against