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 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
 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 Date getCurrentDate()
Specified by:
getCurrentDate in interface com.atlassian.core.util.Clock


Copyright © 2003-2011 Atlassian. All Rights Reserved.