public class DefaultScheduleSequence extends Object implements ScheduleSequence
This implementation should be used if dates generated by schedule sequence needs no modification. Implementation uses org.quartz.TriggerUtils class to generate List of dates from Cron expression.
It uses current time zone, where application is hosted.
Note: Dates used in generating schedule must be wrapped with required time accuracy. e.g. Start Date: 02/01/09 10:10 End Date: 02/05/09 10:10 Generated Dates will be in between 02/01/09 10:10 and 02/05/09 10:10. Any date expected before 02/01/09 10:09 will be ignored. Date 02/01/09 10:00 will be ignored. Any date expected after 02/05/09 10:11 will be ignored. Date 02/05/09 12:00 will be ignored.
GROUP, JOBGROUP, JOBNAME, NAME| Constructor and Description |
|---|
DefaultScheduleSequence() |
public List<Date> executeScheduleSequence(String expression, Date startDate, Date endDate) throws ParseException
ScheduleSequenceexecuteScheduleSequence in interface ScheduleSequenceParseException - can thrown in case of invalid expression.ScheduleSequence.executeScheduleSequence(java.lang.String, java.util.Date, java.util.Date)Copyright © 2013 The Kuali Foundation. All Rights Reserved.