public class SystemTimeSource extends java.lang.Object implements TimeSource
TimeSource
that uses System.currentTimeMillis()
Modifier and Type | Field and Description |
---|---|
static TimeSource |
INSTANCE
Singleton instance of this
TimeSource |
Modifier and Type | Method and Description |
---|---|
long |
getTimeMillis()
The current "time" in milliseconds
|
public static final TimeSource INSTANCE
TimeSource
public long getTimeMillis()
getTimeMillis
in interface TimeSource