org.amicofragile.time
Class SystemTimeSource

java.lang.Object
  extended by org.amicofragile.time.SystemTimeSource
All Implemented Interfaces:
TimeSource

public class SystemTimeSource
extends Object
implements TimeSource

System clock based TimeSource.

Author:
turtles

Constructor Summary
SystemTimeSource()
           
 
Method Summary
 long currentTimeInMillis()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemTimeSource

public SystemTimeSource()
Method Detail

currentTimeInMillis

public final long currentTimeInMillis()
Specified by:
currentTimeInMillis in interface TimeSource
Returns:
Current time in milliseconds
See Also:
TimeSource.currentTimeInMillis()


Copyright © 2010. All Rights Reserved.