DateCollection
Inheritance: java.lang.Object, com.aspose.ms.System.Collections.ObjectModel.Collection
public class DateCollection extends System.Collections.ObjectModel.Collection<System.DateTime>
Represents a collection of java.util.Date values.
Methods
| Method | Description |
|---|---|
| addItem(T arg0) | |
| addRange(System.Collections.ObjectModel.Collection c) | Adds the elements of an System.Collections.ICollection to the end of exiting collection. |
| addRange(Iterable c) | Adds the elements of an System.Collections.ICollection to the end of exiting collection. |
| add_Item(Date value) | Adds the element to the end of exiting collection. |
| clear() | |
| containsItem(T arg0) | |
| copyToTArray(T[] arg0, int arg1) | |
| equals(DateCollection other) | Determines whether the specified DateCollection is equal to this instance. |
| equals(Object obj) | Determines whether the specified Object is equal to the current Object. |
| getClass() | |
| getICollection() | |
| getIList() | |
| getItem(int index) | Gets or sets the System.DateTime at the specified index. |
| getSyncRoot() | |
| get_Item(int arg0) | |
| hashCode() | GetHashCode returns a hash function for this object. |
| indexOfItem(T arg0) | |
| insertItem(int arg0, T arg1) | |
| isReadOnly() | |
| iterator() | |
| notify() | |
| notifyAll() | |
| removeAt(int arg0) | |
| removeItem(T arg0) | |
| setItem(int index, Date value) | Gets or sets the System.DateTime at the specified index. |
| set_Item(int arg0, T arg1) | |
| size() | |
| sort() | Sorts the elements in the collection. |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
addItem(T arg0)
public void addItem(T arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | T |
addRange(System.Collections.ObjectModel.Collection c)
public void addRange(System.Collections.ObjectModel.Collection c)
Adds the elements of an System.Collections.ICollection to the end of exiting collection.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| c | com.aspose.ms.System.Collections.ObjectModel.Collection | The ICollection whose elements should be added to the end of this collection. |
addRange(Iterable c)
public void addRange(Iterable c)
Adds the elements of an System.Collections.ICollection to the end of exiting collection.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| c | java.lang.Iterable | The ICollection whose elements should be added to the end of this collection. |
add_Item(Date value)
public void add_Item(Date value)
Adds the element to the end of exiting collection.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.util.Date | The element Date at the specified index. |
clear()
public void clear()
containsItem(T arg0)
public boolean containsItem(T arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | T |
Returns: boolean
copyToTArray(T[] arg0, int arg1)
public void copyToTArray(T[] arg0, int arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | T[] | |
| arg1 | int |
equals(DateCollection other)
public boolean equals(DateCollection other)
Determines whether the specified DateCollection is equal to this instance.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| other | DateCollection | The DateCollection to compare with this instance. |
Returns: boolean - true if the specified DateCollection is equal to this instance; otherwise, false .
equals(Object obj)
public boolean equals(Object obj)
Determines whether the specified Object is equal to the current Object.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| obj | java.lang.Object | The Object to compare with the current Object. |
Returns: boolean - Returns a boolean indicating if the passed in object obj is Equal to this.
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getICollection()
public System.Collections.ICollection getICollection()
Returns: com.aspose.ms.System.Collections.ICollection
getIList()
public System.Collections.IList getIList()
Returns: com.aspose.ms.System.Collections.IList
getItem(int index)
public Date getItem(int index)
Gets or sets the System.DateTime at the specified index.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | int | The zero-based index System.Int32 of the element to get or set. |
Returns: java.util.Date - The element System.DateTime at the specified index.
getSyncRoot()
public Object getSyncRoot()
Returns: java.lang.Object
get_Item(int arg0)
public T get_Item(int arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | int |
Returns: T
hashCode()
public int hashCode()
GetHashCode returns a hash function for this object.
Returns: int - Returns a hash function for this object.
indexOfItem(T arg0)
public int indexOfItem(T arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | T |
Returns: int
insertItem(int arg0, T arg1)
public void insertItem(int arg0, T arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | int | |
| arg1 | T |
isReadOnly()
public boolean isReadOnly()
Returns: boolean
iterator()
public System.Collections.Generic.IGenericEnumerator<T> iterator()
Returns:
com.aspose.ms.System.Collections.Generic.IGenericEnumerator
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
removeAt(int arg0)
public void removeAt(int arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | int |
removeItem(T arg0)
public boolean removeItem(T arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | T |
Returns: boolean
setItem(int index, Date value)
public void setItem(int index, Date value)
Gets or sets the System.DateTime at the specified index.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | int | The zero-based index System.Int32 of the element to get or set. |
| value | java.util.Date | The element Date at the specified index. |
set_Item(int arg0, T arg1)
public void set_Item(int arg0, T arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | int | |
| arg1 | T |
size()
public int size()
Returns: int
sort()
public void sort()
Sorts the elements in the collection.
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |