public class GenericWeeklySchedule extends Object implements SessionSchedule
Constructor and Description |
---|
GenericWeeklySchedule() |
Modifier and Type | Method and Description |
---|---|
GenericWeeklySchedule |
addInterval(WeeklyInterval interval)
Adds activity interval.
|
WeeklyIntervalList |
getIntervalList()
Returns list of activity intervals.
|
GenericWeeklySchedule |
validate()
Validates scheduled intervals.
|
public GenericWeeklySchedule addInterval(WeeklyInterval interval) throws ScheduleValidationException
interval
- activity intervalScheduleValidationException
- if interval validation failedpublic WeeklyIntervalList getIntervalList()
getIntervalList
in interface SessionSchedule
public GenericWeeklySchedule validate() throws ScheduleValidationException
SessionSchedule
validate
in interface SessionSchedule
ScheduleValidationException
- if the interval(s) is(are) invalid.Copyright © 2005–2024 Onix Solutions. All rights reserved.