com.google.code.tempusfugit.temporal
Class MovableClock
java.lang.Object
com.google.code.tempusfugit.temporal.MovableClock
- All Implemented Interfaces:
- Factory<Date>, Clock
public final class MovableClock
- extends Object
- implements Clock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MovableClock
public MovableClock()
MovableClock
public MovableClock(Date date)
create
public Date create()
- Specified by:
create
in interface Factory<Date>
setTime
public void setTime(Duration time)
incrementBy
public void incrementBy(Duration time)
Copyright © 2009-2012 tempus-fugit committers. All Rights Reserved.