CLRA 0.1.2

com.clra.util
Interface IScheduled

All Known Subinterfaces:
IEvent

public interface IScheduled

Declares a read-only interface for schedulable events.

Version:
$Revision: 1.2 $ $Date: 2002/02/18 18:05:29 $
Author:
Rick Hall

Method Summary
 Long getDuration()
          Returns the duration of an event, in milliseconds.
 Calendar getStart()
          Returns the start date and time of an event as a Calendar object
 

Method Detail

getStart

public Calendar getStart()
Returns the start date and time of an event as a Calendar object

getDuration

public Long getDuration()
Returns 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).
Returns:
a non-negative duration in milliseconds.

CLRA 0.1.2