Package com.atlassian.confluence.jmx
Class CurrentTimeFacade
- java.lang.Object
-
- com.atlassian.confluence.jmx.CurrentTimeFacade
-
public class CurrentTimeFacade extends Object
Allows unit tests for system time dependant functions.
-
-
Constructor Summary
Constructors Constructor Description CurrentTimeFacade()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Date
getCurrentTime()
static void
reset()
static void
setCurrentTime(Date currentTime)
Note that you should NEVER call this outside of a unit test.
-