org.oddjob.util
Class DefaultClock

java.lang.Object
  extended byorg.oddjob.util.DefaultClock
All Implemented Interfaces:
Clock

public class DefaultClock
extends java.lang.Object
implements Clock

Being phased out since moving to quartz.

Author:
Rob Gordon

Constructor Summary
DefaultClock()
           
 
Method Summary
 java.util.Date getDate()
          Return the java date for the current time by the clock.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultClock

public DefaultClock()
Method Detail

getDate

public java.util.Date getDate()
Description copied from interface: Clock
Return the java date for the current time by the clock.

Specified by:
getDate in interface Clock
Oddjob Property:
date
Description:
The current date/time.
Required:
R/O
Returns:
The date.

toString

public java.lang.String toString()