-
public interface ITimeProvides an abstraction to retrieving the current time. This should be used rather than standard library services, to allow for more flexible testing scenarios.
-
-
Method Summary
Modifier and Type Method Description abstract LonggetCurrentTimeMillis()Returns the current time in unix time milliseconds (the number of milliseconds between the current time and midnight, January 1, 1970 UTC). -
-
Method Detail
-
getCurrentTimeMillis
abstract Long getCurrentTimeMillis()
Returns the current time in unix time milliseconds (the number of milliseconds between the current time and midnight, January 1, 1970 UTC).
-
-
-
-