|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ISchedule
A class can implement ISchedule when it wants to represent a list of scheduled times. Keep in mind that implementations of this interface have no concept of the current date, only the dates which are given.
| Method Summary | |
|---|---|
long |
getMaximumLatency()
Returns the maximum number of milliseconds each event in this schedule can be delayed before timing out. |
java.util.Date |
getNextDate(java.util.Date startDate)
Returns the next Date after startDate when a scheduled event should occur. |
java.lang.String |
getScheduleString()
Returns a String representation of the schedule. |
boolean |
isValid()
Returns true if the schedule has been properly initialized. |
boolean |
setSchedule(java.lang.String s)
Sets the schedule based on a syntax-dependent String description. |
| Method Detail |
|---|
long getMaximumLatency()
java.util.Date getNextDate(java.util.Date startDate)
startDate - a Date reference.
java.lang.String getScheduleString()
boolean isValid()
boolean setSchedule(java.lang.String s)
s - a String reference
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||