|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.emarsys.ecommon.time.SystemTime
public final class SystemTime
The default implementation of Time
that delegates to
System.currentTimeMillis()
.
Method Summary | |
---|---|
long |
currentTimeMillis()
Returns the current time in milliseconds. |
static SystemTime |
getInstance()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static SystemTime getInstance()
public long currentTimeMillis()
Time
Returns the current time in milliseconds.
Subsequent calls to Time.currentTimeMillis()
must not
return values that are smaller then previous ones.
currentTimeMillis
in interface Time
System.currentTimeMillis()
,
Time.currentTimeMillis()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |