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