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 |
addRange(com.aspose.ms.System.Collections.ObjectModel.Collection c)
addRange.
|
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.The
- elementSystem.DateTime
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)
addRange.
c
- a Collection
object.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-2016 Aspose Pty Ltd. All Rights Reserved.