ClockProvider implementation which returns the current system time in the default time zone using
Clock#systemDefaultZone().
| Modifier and Type | Field and Description |
|---|---|
| public static final DefaultClockProvider |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Clock | getClock()
Implements jakarta. now.
|
| INSTANCE | back to summary |
|---|---|
| public static final DefaultClockProvider INSTANCE | |
| DefaultClockProvider | back to summary |
|---|---|
| private DefaultClockProvider() | |
| getClock | back to summary |
|---|---|
| public Clock getClock() Implements jakarta. Doc from jakarta. Returns the clock which serves as the reference for | |