class OnceTimeSchedule extends Object implements TimeSchedule
OnceTimeSchedule fires at one and only one time.| Constructor and Description |
|---|
OnceTimeSchedule(Calendar time) |
| Modifier and Type | Method and Description |
|---|---|
Calendar |
nextOccurrence(Calendar after,
boolean strict)
Returns the next occurrence at or after
after. |
Calendar time
OnceTimeSchedule(Calendar time)
public Calendar nextOccurrence(Calendar after, boolean strict)
TimeScheduleafter. If
after is null, returns the first occurrence. If there are
no further occurrences, returns null.nextOccurrence in interface TimeSchedulestrict - if true, return time must be after after, not
equal to it