com.atlassian.confluence.util
Class DefaultClock

java.lang.Object
  extended by com.atlassian.confluence.util.DefaultClock
All Implemented Interfaces:
com.atlassian.core.util.Clock

public final class DefaultClock
extends java.lang.Object
implements com.atlassian.core.util.Clock

Default implementation of the Clock interface that simply returns a new Date instance.


Constructor Summary
DefaultClock()
           
 
Method Summary
 java.util.Date getCurrentDate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultClock

public DefaultClock()
Method Detail

getCurrentDate

public java.util.Date getCurrentDate()
Specified by:
getCurrentDate in interface com.atlassian.core.util.Clock


Copyright © 2003-2014 Atlassian. All Rights Reserved.