org.oddjob.util
Class DefaultClock
java.lang.Object
org.oddjob.util.DefaultClock
- All Implemented Interfaces:
- Clock
public class DefaultClock
- extends Object
- implements Clock
Being phased out since moving to quartz.
- Author:
- Rob Gordon
DefaultClock
public DefaultClock()
getDate
public Date getDate()
- Description copied from interface:
Clock
- Return the java date for the current time by the clock.
- Specified by:
getDate in interface Clock
Property: date
Description: The current date/time.
Required: R/O
- Returns:
- The date.
toString
public String toString()
- Overrides:
toString in class Object