Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.clra.util
Interface IScheduled  view IScheduled download IScheduled.java

All Known Subinterfaces:
IEvent

public interface IScheduled

Declares a read-only interface for schedulable events.

Version:
$Revision: 1.3 $ $Date: 2003/02/26 03:38:45 $

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

Method Detail

getStart

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


getDuration

public java.lang.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).