Package jetbrains.buildServer.util
Class SystemTimeService
- java.lang.Object
-
- jetbrains.buildServer.util.SystemTimeService
-
- All Implemented Interfaces:
TimeService
public class SystemTimeService extends Object implements TimeService
Time service based on current system time.
-
-
Constructor Summary
Constructors Constructor Description SystemTimeService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TimeService
getInstance()
long
now()
Provides current time millis.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jetbrains.buildServer.util.TimeService
nowDate
-
-
-
-
Method Detail
-
getInstance
public static TimeService getInstance()
-
now
public long now()
Description copied from interface:TimeService
Provides current time millis.- Specified by:
now
in interfaceTimeService
- Returns:
- current time.
-
-