com.atlassian.confluence.util
Class DefaultClock
java.lang.Object
com.atlassian.confluence.util.DefaultClock
- All Implemented Interfaces:
- com.atlassian.core.util.Clock
public final class DefaultClock
- extends Object
- implements com.atlassian.core.util.Clock
Default implementation of the Clock
interface that
simply returns a new Date
instance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultClock
public DefaultClock()
getCurrentDate
public Date getCurrentDate()
- Specified by:
getCurrentDate
in interface com.atlassian.core.util.Clock