public class SystemClockTimeSource extends java.lang.Object implements TimeSource
TimeSource
implementation that is identical to calling System.currentTimeMillis()
Constructor and Description |
---|
SystemClockTimeSource() |
Modifier and Type | Method and Description |
---|---|
long |
currentTimeMillis()
Get the current time in milliseconds, according to this TimeSource
|
static TimeSource |
getInstance() |
public static TimeSource getInstance()
public long currentTimeMillis()
TimeSource
currentTimeMillis
in interface TimeSource