public class WeeklyIntervalList extends Object
Constructor and Description |
---|
WeeklyIntervalList() |
Modifier and Type | Method and Description |
---|---|
void |
add(WeeklyInterval interval)
Adds weekly interval.
|
List<WeeklyInterval> |
getIntervals()
Returns interval list.
|
int |
getSize()
Returns interval list size.
|
boolean |
includesNow() |
void |
validate() |
public void add(WeeklyInterval interval) throws ScheduleValidationException
interval
- weekly intervalScheduleValidationException
- if interval
validation failedpublic int getSize()
public List<WeeklyInterval> getIntervals()
public void validate() throws ScheduleValidationException
ScheduleValidationException
public boolean includesNow()
Copyright © 2005–2024 Onix Solutions. All rights reserved.