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 SessionSchedulepublic GenericWeeklySchedule validate() throws ScheduleValidationException
SessionSchedulevalidate in interface SessionScheduleScheduleValidationException - if the interval(s) is(are) invalid.Copyright © 2005–2025 Onix Solutions. All rights reserved.