public class ScheduleParser
extends java.lang.Object
Constructor and Description |
---|
ScheduleParser() |
Modifier and Type | Method and Description |
---|---|
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.
|
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
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.