|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
com.aspose.network.ByDayCollection
public class ByDayCollection
Represents a collection of ByDay
objects.
Corresponds to the BYDAY part of the recurrence rule.
The BYDAY rule specifies a list of days of the week for a monthly or yearly recurrence rule.
For each day of the week, a specific Nth occurrence or all occurrences can be specified.
Method Summary | |
---|---|
boolean |
add(ByDay byDay)
Adds a ByDay to the collection. |
boolean |
add(int dayOfWeek)
Creates and adds a ByDay that represents all occurrences of the day of the week to the collection. |
boolean |
add(int nthOccurrence,
int dayOfWeek)
Creates and adds a ByDay to the collection. |
boolean |
contains(int dayOfWeek)
Returns True if the specified day of week is present in the collection. |
boolean |
equals(ByDayCollection other)
|
boolean |
equals(Object obj)
|
ByDay |
get(int index)
Gets or sets a ByDay from the collection. |
int |
hashCode()
|
void |
set(int index,
ByDay value)
|
Methods inherited from class java.util.ArrayList |
---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, indexOf, isEmpty, lastIndexOf, remove, remove, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, iterator, listIterator, listIterator, removeAll, retainAll, subList |
Method Detail |
---|
public boolean add(ByDay byDay)
Adds a ByDay
to the collection.
byDay
- The item to add to the collection.
public boolean add(int dayOfWeek)
Creates and adds a ByDay
that represents all occurrences of the day of the week to the collection.
dayOfWeek
- A day of the week.
public boolean add(int nthOccurrence, int dayOfWeek)
Creates and adds a ByDay
to the collection.
nthOccurrence
- The nth occurrence of the day of the week.dayOfWeek
- A day of the week.
public ByDay get(int index)
Gets or sets a ByDay
from the collection.
get
in interface List
get
in class ArrayList
public void set(int index, ByDay value)
public boolean contains(int dayOfWeek)
Returns True if the specified day of week is present in the collection.
public boolean equals(ByDayCollection other)
public boolean equals(Object obj)
equals
in interface Collection
equals
in interface List
equals
in class AbstractList
public int hashCode()
hashCode
in interface Collection
hashCode
in interface List
hashCode
in class AbstractList
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |