com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class DateCollection

  • java.lang.Object
    • com.aspose.ms.System.Collections.ObjectModel.Collection<com.aspose.ms.System.DateTime>
      • com.aspose.email.DateCollection
  • All Implemented Interfaces:
    com.aspose.ms.System.Collections.Generic.IGenericCollection<com.aspose.ms.System.DateTime>, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.ms.System.DateTime>, com.aspose.ms.System.Collections.Generic.IGenericList<com.aspose.ms.System.DateTime>, com.aspose.ms.System.Collections.IEnumerable<com.aspose.ms.System.DateTime>, Iterable<com.aspose.ms.System.DateTime>


    public class DateCollection
    extends com.aspose.ms.System.Collections.ObjectModel.Collection<com.aspose.ms.System.DateTime>

    Represents a collection of DateTime values.


    • Method Summary

      Methods 
      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.
      • Methods inherited from class com.aspose.ms.System.Collections.ObjectModel.Collection

        addItem, clear, containsItem, copyToTArray, get_Item, get_Items, getICollection, getIList, getSyncRoot, indexOfItem, insertItem, isReadOnly, iterator, removeAt, removeItem, set_Item, setItem, size
    • Method Detail

      • getItem

        public Date getItem(int index)

        Gets or sets the System.DateTime at the specified index.

        Parameters:
        index - The zero-based indexSystem.Int32 of the element to get or set.
        Returns:
        The elementSystem.DateTime at the specified index.
      • setItem

        public void setItem(int index,
                   Date value)

        Gets or sets the System.DateTime at the specified index.

        Parameters:
        index - The zero-based indexSystem.Int32 of the element to get or set.
        value - The elementDate at the specified index.
      • add_Item

        public void add_Item(Date value)

        Adds the element to the end of exiting collection.

        Parameters:
        value - The elementDate at the specified index.
      • addRange

        public void addRange(Iterable c)

        Adds the elements of an System.Collections.ICollection to the end of exiting collection.

        Parameters:
        c - The ICollection whose elements should be added to the end of this collection.
      • addRange

        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.

        Parameters:
        c - The ICollection whose elements should be added to the end of this collection.
      • sort

        public void sort()

        Sorts the elements in the collection.

      • equals

        public boolean equals(DateCollection other)

        Determines whether the specified Aspose.iCalendar.DateCollection is equal to this instance.

        Parameters:
        other - The Aspose.iCalendar.DateCollection to compare with this instance.
        Returns:
        true if the specified Aspose.iCalendar.DateCollection is equal to this instance; otherwise, false.
      • equals

        public boolean equals(Object obj)

        Determines whether the specified Object is equal to the current Object.

        Overrides:
        equals in class Object
        Parameters:
        obj - The Object to compare with the current Object.
        Returns:
        Returns a boolean indicating if the passed in object obj is Equal to this.
      • hashCode

        public int hashCode()

        GetHashCode returns a hash function for this object.

        Overrides:
        hashCode in class Object
        Returns:
        Returns a hash function for this object.