org.oddjob.util
Interface Clock
- All Known Implementing Classes:
- DefaultClock
- public interface Clock
A clock is used by a schedule to tell the time. The clock could
use the system time or the time in a different time zone, or a
time server, or some other means of telling the time.
- Author:
- Rob Gordon
|
Method Summary |
java.util.Date |
getDate()
Return the java date for the current time by the clock. |
getDate
public java.util.Date getDate()
- Return the java date for the current time by the clock.
- Returns:
- The date.