| Package | Description |
|---|---|
| javax.realtime |
| Modifier and Type | Class and Description |
|---|---|
class |
RealtimeClock
A
RealtimeClock implementation. |
| Modifier and Type | Method and Description |
|---|---|
Clock |
HighResolutionTime.getClock() |
static Clock |
Clock.getRealtimeClock() |
| Constructor and Description |
|---|
AbsoluteTime(Clock clock)
Equivalent to
AbsoluteTime(0,0,clock). |
AbsoluteTime(long millis,
int nanos,
Clock clock)
Constructs an
AbsoluteTime object with time millisecond
and nanosecond components past the clock's Epoch. |
RelativeTime(Clock clock)
Constructs a duration of zero milliseconds and zero nanoseconds.
|
RelativeTime(long millis,
int nanos,
Clock clock)
Constructs a
RelativeTime object representing a duration based on the parameters. |