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 java.lang.Object
implements com.atlassian.core.util.Clock

A clock implementation the returns the current time.

Since:
v4.0

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

getInstance

public static RealClock getInstance()


Copyright © 2002-2011 Atlassian. All Rights Reserved.