public interface Timestamp extends Comparable<Timestamp>
| Modifier and Type | Method and Description |
|---|---|
TimeUnit |
getNativeUnit()
Returns the native unit used by this Timestamp.
|
long |
sinceEpoch(TimeUnit unit)
Returns the length of time since UNIX epoch in the given
TimeUnit. |
compareToCopyright © 2012–2014. All rights reserved.