hirondelle.web4j.util
Class TimeSourceImpl
Object
hirondelle.web4j.util.TimeSourceImpl
- All Implemented Interfaces:
- TimeSource
public final class TimeSourceImpl
- extends Object
- implements TimeSource
Default implementation of TimeSource
.
Simply returns the normal system time, without alteration.
If you don't define your own TimeSource
, then this
default implementation will automatically be used by WEB4J.
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimeSourceImpl
public TimeSourceImpl()
currentTimeMillis
public long currentTimeMillis()
- Return
System.currentTimeMillis()
, with no alteration.
- Specified by:
currentTimeMillis
in interface TimeSource
Copyright Hirondelle Systems. Published October 19, 2013 - User Guide - All Docs.