com.j_spaces.kernel.time
Class AbsoluteTime

java.lang.Object
  extended by com.j_spaces.kernel.time.AbsoluteTime
All Implemented Interfaces:
ITimeProvider

public final class AbsoluteTime
extends Object
implements ITimeProvider

ITimeProvider implementation of the underlying OS system or wall-clock time. Note that while the unit of time of the return value is a millisecond, the granularity of the value depends on the underlying operating system and may be larger.

For example, many operating systems measure time in units of tens of milliseconds. See the description of the class Date for a discussion of slight discrepancies that may arise between "computer time" and coordinated universal time (UTC).


Constructor Summary
AbsoluteTime()
           
 
Method Summary
 long timeMillis()
          Relies on the underlying implementation of System.currentTimeMillis().
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbsoluteTime

public AbsoluteTime()
Method Detail

timeMillis

public long timeMillis()
Relies on the underlying implementation of System.currentTimeMillis().

Specified by:
timeMillis in interface ITimeProvider
Returns:
the difference, measured in milliseconds, between the current time and midnight, January 1, 1970 UTC.