Package com.exedio.cope.util
Class Clock
- java.lang.Object
-
- com.exedio.cope.util.Clock
-
public final class Clock extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Clock.Strategy
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
clearOverride()
static long
currentTimeMillis()
static Date
newDate()
static void
override(Clock.Strategy strategy)
-
-
-
Method Detail
-
newDate
public static Date newDate()
-
currentTimeMillis
public static long currentTimeMillis()
-
override
public static void override(Clock.Strategy strategy)
-
clearOverride
public static void clearOverride()
-
-