public abstract class ProjectCalendarDateRanges extends Object implements Iterable<DateRange>
| Constructor and Description |
|---|
ProjectCalendarDateRanges() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRange(DateRange range)
Add a date range to the list of date ranges.
|
DateRange |
getRange(int index)
Retrieve the date range at the specified index.
|
int |
getRangeCount()
Returns the number of date ranges associated with this instance.
|
Iterator<DateRange> |
iterator()
Retrieve an iterator to allow the list of date ranges to be traversed.
|
void |
setRange(int index,
DateRange value)
Replace a date range at the specified index.
|
public void addRange(DateRange range)
range - date rangepublic DateRange getRange(int index)
index - range indexpublic void setRange(int index,
DateRange value)
index - range indexvalue - DateRange instancepublic Iterator<DateRange> iterator()
public int getRangeCount()
Copyright © 2013. All Rights Reserved.