public class DateCollection
extends com.aspose.ms.System.Collections.ObjectModel.Collection<com.aspose.ms.System.DateTime>
Represents a collection of DateTime
values.
Modifier and Type | Method and Description |
---|---|
void |
add_Item(Date value)
Adds the element to the end of exiting collection.
|
void |
addRange(com.aspose.ms.System.Collections.ObjectModel.Collection c)
Adds the elements of an System.Collections.ICollection to the end of exiting collection.
|
void |
addRange(Iterable c)
Adds the elements of an System.Collections.ICollection to the end of exiting collection.
|
boolean |
equals(DateCollection other)
Determines whether the specified
Aspose.iCalendar.DateCollection is equal to this instance. |
boolean |
equals(Object obj)
Determines whether the specified Object is equal to the current Object.
|
Date |
getItem(int index)
Gets or sets the
System.DateTime at the specified index. |
int |
hashCode()
GetHashCode returns a hash function for this object.
|
void |
setItem(int index,
Date value)
Gets or sets the
System.DateTime at the specified index. |
void |
sort()
Sorts the elements in the collection.
|
public Date getItem(int index)
Gets or sets the System.DateTime
at the specified index.
index
- The zero-based indexSystem.Int32
of the element to get or set.System.DateTime
at the specified index.public void setItem(int index, Date value)
Gets or sets the System.DateTime
at the specified index.
index
- The zero-based indexSystem.Int32
of the element to get or set.value
- The elementDate
at the specified index.public void add_Item(Date value)
Adds the element to the end of exiting collection.
value
- The elementDate
at the specified index.public void addRange(Iterable c)
Adds the elements of an System.Collections.ICollection to the end of exiting collection.
c
- The ICollection whose elements should be added to the end of this collection.public void addRange(com.aspose.ms.System.Collections.ObjectModel.Collection c)
Adds the elements of an System.Collections.ICollection to the end of exiting collection.
c
- The ICollection whose elements should be added to the end of this collection.public void sort()
Sorts the elements in the collection.
public boolean equals(DateCollection other)
Determines whether the specified Aspose.iCalendar.DateCollection
is equal to this instance.
other
- The Aspose.iCalendar.DateCollection
to compare with this instance.true
if the specified Aspose.iCalendar.DateCollection
is equal to this instance; otherwise, false
.public boolean equals(Object obj)
Determines whether the specified Object is equal to the current Object.
Copyright (c) 2008-2018 Aspose Pty Ltd. All Rights Reserved.