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 ScheduleParser()
public static Date[] createDatesForSchedule(String schedule) throws ParseException
schedule
- ParseException
public static Date getDateForSchedule(String startTime) throws ParseException
startTime
- ParseException
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.