public interface Clock
Modifier and Type | Field and Description |
---|---|
static Clock |
WALL
A Clock instance that returns the current time in milliseconds since
the epoch using the system clock.
|
Modifier and Type | Method and Description |
---|---|
long |
now()
Returns the number of milliseconds since the epoch.
|
static final Clock WALL