public class ByNumberCollection extends com.aspose.ms.System.Collections.Generic.List<Integer>
Represents a set of months, weeks, days, hours, minutes or seconds in a recurrence rule.
<p>Corresponds to various BYXXX parts such as BYDAY, BYMONTH of a recurrence rule.</p>
<p>Most of the ByXXX properties of {@link RecurrenceRule} are implemented as ByNumberCollection.</p>
Modifier and Type | Method and Description |
---|---|
int |
add(int value)
Adds a month, week, day, hour, minute or second to the collection.
|
void |
add(int[] values)
Adds an array of month, week, day, hour, minute or second to the collection.
|
boolean |
equals(ByNumberCollection other)
Determines whether the specified
ByNumberCollection is equal to this instance. |
boolean |
equals(Object obj)
Determines whether the specified Object is equal to the current Object.
|
int |
hashCode()
GetHashCode returns a hash function for this object.
|
add, add, addAll, addAll, addItem, addRange, addRange, asReadOnly, binarySearch, binarySearch, binarySearch, clear, contains, containsAll, containsItem, convertAll, copyTo, copyTo, copyTo, copyToTArray, exists, find, findAll, findIndex, findIndex, findIndex, findLast, findLastIndex, findLastIndex, findLastIndex, forEach, fromJava, get_Item, get, getCapacity, getRange, getSyncRoot, getVersion, indexOf, indexOf, indexOf, indexOfItem, insertItem, insertRange, isEmpty, isFixedSize, isReadOnly, isSynchronized, iterator, lastIndexOf, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAll, removeAt, removeItem, removeRange, retainAll, reverse, reverse, set_Item, set, setCapacity, size, sort, sort, sort, sort, subList, toArray, toArray, toJava, trimExcess, trueForAll
public final int add(int value)
Adds a month, week, day, hour, minute or second to the collection.
value
- The value to add.
<p>Throws an exception if the value is outside of the valid range for the time unit of this collection.</p>
public final void add(int[] values)
Adds an array of month, week, day, hour, minute or second to the collection.
values
- The values.public boolean equals(ByNumberCollection other)
Determines whether the specified ByNumberCollection
is equal to this instance.
other
- The ByNumberCollection
to compare with this instance.true
if the specified ByNumberCollection
is equal to this instance; otherwise, false
.public boolean equals(Object obj)
Determines whether the specified Object is equal to the current Object.