001 package hirondelle.web4j.util;
002
003 /**
004 Default implementation of {@link TimeSource}.
005
006 <P> Simply returns the normal system time, without alteration.
007 If you don't define your own {@link TimeSource}, then this
008 default implementation will automatically be used by WEB4J.
009 */
010 public final class TimeSourceImpl implements TimeSource {
011
012 /** Return {@link System#currentTimeMillis()}, with no alteration. */
013 public long currentTimeMillis() {
014 return System.currentTimeMillis();
015 }
016
017 }