public class RecurrenceRuleCollection extends com.aspose.ms.System.Collections.ObjectModel.Collection<RecurrenceRule>
Represents a collection of RecurrenceRule
objects.
<p>Corresponds to a collection of RRULE or EXRULE parts of a recurrence pattern.</p>
Modifier and Type | Method and Description |
---|---|
RecurrenceRule |
add()
Adds a
RecurrenceRule to the collection. |
int |
add(RecurrenceRule rule)
Adds a
RecurrenceRule to the collection. |
boolean |
equals(Object obj)
Determines whether the specified
Object is equal to this instance. |
boolean |
equals(RecurrenceRuleCollection other)
Determines whether the specified
RecurrenceRuleCollection is equal to this instance. |
RecurrenceRule |
get(int index)
Gets or sets a
RecurrenceRule from the collection. |
int |
hashCode()
Returns a hash code for this instance.
|
void |
set(int index,
RecurrenceRule value)
Gets or sets a
RecurrenceRule from the collection. |
public final RecurrenceRule add()
Adds a RecurrenceRule
to the collection.
public final int add(RecurrenceRule rule)
Adds a RecurrenceRule
to the collection.
rule
- The RecurrenceRule
to add.public RecurrenceRule get(int index)
Gets or sets a RecurrenceRule
from the collection.
index
- a int.RecurrenceRule
object.public void set(int index, RecurrenceRule value)
Gets or sets a RecurrenceRule
from the collection.
index
- a int.value
- a RecurrenceRule
object.public boolean equals(RecurrenceRuleCollection other)
Determines whether the specified RecurrenceRuleCollection
is equal to this instance.
other
- The RecurrenceRuleCollection
to compare with this instance.true
if the specified RecurrenceRuleCollection
is equal to this instance; otherwise, false
.public boolean equals(Object obj)
Determines whether the specified Object
is equal to this instance.