public class AdvancedMultipleTimePeriod extends Object implements TimePeriod
| Modifier and Type | Field and Description |
|---|---|
protected List |
timePeriods |
| Constructor and Description |
|---|
AdvancedMultipleTimePeriod() |
AdvancedMultipleTimePeriod(List periods) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPeriod(TimePeriod period) |
String |
getPeriodString() |
List |
getTimePeriods() |
boolean |
timeIsInPeriod(long time) |
protected List timePeriods
public AdvancedMultipleTimePeriod()
public AdvancedMultipleTimePeriod(List periods)
public void addPeriod(TimePeriod period)
public List getTimePeriods()
public boolean timeIsInPeriod(long time)
timeIsInPeriod in interface TimePeriodpublic String getPeriodString()
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.