com.atlassian.jira.util
Class RealClock

java.lang.Object
  extended by com.atlassian.jira.util.RealClock
All Implemented Interfaces:
com.atlassian.core.util.Clock

public final class RealClock
extends Object
implements com.atlassian.core.util.Clock

A clock implementation the returns the current time.

Since:
v4.0

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

Method Detail

getCurrentDate

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

getInstance

public static RealClock getInstance()


Copyright © 2002-2013 Atlassian. All Rights Reserved.