HighResolutionTime Base Class

The HighResolutionTime class is abstract. It cannot be instantiated, but it stores the millisecond and nanosecond fields for all the other high-resolution time classes and provides the methods that are common to all its subclasses. The methods for HighResolutionTime (and therefore all its subclasses) are listed below:

 AbsoluteTime absolute(Clock clock) AbsoluteTime absolute(Clock clock, AbsoluteTime dest) int compareTo(HighResolutionTime time) int compareTo(java.lang.Object object) boolean equals(java.lang.Object object) boolean equals(HighResolutionTime object) long getMilliseconds() int getNanoseconds() int hashCode() RelativeTime relative(Clock clock) RelativeTime relative(Clock clock, RelativeTime time) void ...

Get Real-Time Java™ Platform Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.