public class SystemTimeProvider extends Object implements TimeProvider
This class uses system clock to get the time.
| Constructor and Description |
|---|
SystemTimeProvider() |
| Modifier and Type | Method and Description |
|---|---|
Instant |
getTimestamp()
Returns the current time as defined by this
TimeProvider implementation. |
public Instant getTimestamp()
TimeProviderReturns the current time as defined by this TimeProvider implementation.
getTimestamp in interface TimeProviderInstantCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.