|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jcs.auxiliary.disk.jdbc.mysql.util.ScheduleParser
public class ScheduleParser
Parses the very simple schedule format.
Constructor Summary | |
---|---|
ScheduleParser()
|
Method Summary | |
---|---|
static java.util.Date[] |
createDatesForSchedule(java.lang.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 java.util.Date |
getDateForSchedule(java.lang.String startTime)
For a single string it creates a date that is the next time this hh:mm:ss combo will be seen. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScheduleParser()
Method Detail |
---|
public static java.util.Date[] createDatesForSchedule(java.lang.String schedule) throws ScheduleFormatException
schedule
-
ScheduleFormatException
public static java.util.Date getDateForSchedule(java.lang.String startTime) throws ScheduleFormatException
startTime
-
ScheduleFormatException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |