public class ScheduleParser extends Object
| Constructor and Description |
|---|
ScheduleParser() |
| Modifier and Type | Method and Description |
|---|---|
static 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 Date |
getDateForSchedule(String startTime)
For a single string it creates a date that is the next time this hh:mm:ss
combo will be seen.
|
public static Date[] createDatesForSchedule(String schedule) throws ParseException
schedule - ParseExceptionpublic static Date getDateForSchedule(String startTime) throws ParseException
startTime - ParseExceptionCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.