jetbrains.buildServer.util
Class SystemTimeService

java.lang.Object
  extended by jetbrains.buildServer.util.SystemTimeService
All Implemented Interfaces:
TimeService

public class SystemTimeService
extends java.lang.Object
implements TimeService

Time service based on current system time.


Constructor Summary
SystemTimeService()
           
 
Method Summary
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
 

Constructor Detail

SystemTimeService

public SystemTimeService()
Method Detail

getInstance

public static TimeService getInstance()

now

public long now()
Description copied from interface: TimeService
Provides current time millis.

Specified by:
now in interface TimeService
Returns:
current time.