Class ScheduleParser
java.lang.Object
org.apache.commons.jcs3.auxiliary.disk.jdbc.mysql.util.ScheduleParser
Parses the very simple schedule format.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic Date[]createDatesForSchedule(String schedule) For each date time that is separated by a comma in the OptimizationSchedule, create a date and add it to an array of dates.static DategetDateForSchedule(String startTime) For a single string it creates a date that is the next time this hh:mm:ss combo will be seen.
- 
Constructor Details- 
ScheduleParserpublic ScheduleParser()
 
- 
- 
Method Details- 
createDatesForScheduleFor each date time that is separated by a comma in the OptimizationSchedule, create a date and add it to an array of dates.- Parameters:
- schedule-
- Returns:
- Date[]
- Throws:
- ParseException
 
- 
getDateForScheduleFor a single string it creates a date that is the next time this hh:mm:ss combo will be seen.- Parameters:
- startTime-
- Returns:
- Date
- Throws:
- ParseException
 
 
-