com.clra.util
Interface IEvent
- All Superinterfaces:
- IScheduled
- public interface IEvent
- extends IScheduled
Declares a read-write interface for schedulable events.
- Version:
- $Revision: 1.2 $ $Date: 2002/02/18 18:05:21 $
- Author:
- Rick Hall
Method Summary |
void |
setDuration(Long duration)
Sets the duration of an event, in milliseconds. |
void |
setStart(Calendar start)
Sets the start date and time of an event as a Calendar object |
setStart
public void setStart(Calendar start)
- Sets the start date and time of an event as a Calendar object
setDuration
public void setDuration(Long duration)
- Sets the duration of an event, in milliseconds.
(Sigh... Yes, milliseconds are ridiculous precision. But they are
the most convenient unit for durations, since millisecond durations
are easy to add to Date and Calendar instances).