Class Overview
Allows unit tests for system time dependant functions.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
CurrentTimeFacade
()
Public Methods
public
static
Date
getCurrentTime
()
public
static
void
reset
()
public
static
void
setCurrentTime
(Date currentTime)
Note that you should NEVER call this outside of a unit test.