com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class CalendarExceptionCollection

    • Method Detail

      • toList

        public List<CalendarException> toList()

        Converts the CalendarExceptionCollection object to a list of CalendarException objects.

        Returns:
        List of CalendarException objects.
      • getParentCalendar

        public Calendar getParentCalendar()

        Returns parent calendar for this object. Read only Calendar.

        Returns:
        parent calendar for this collection.
      • add

        public void add(CalendarException exception)

        Adds CalendarException instance to this collection object.

        Parameters:
        exception - CalendarException instance to add.
      • addRange

        public void addRange(com.aspose.ms.System.Collections.Generic.IGenericEnumerable<CalendarException> rangeOfExceptions)

        Adds range of exceptions to the internal list.

        Parameters:
        rangeOfExceptions - Range of exceptions to add.
      • getCount

        public int getCount()

        Returns the number of objects contained in this CalendarExceptionCollection object. Read only int.

        Returns:
        the number of objects contained in this collection.
      • remove

        public boolean remove(CalendarException exception)

        Removes CalendarException instance from this collection.

        Parameters:
        exception - CalendarException instance to remove.
        Returns:
        true if the specified exception was removed successfully.
      • clear

        public void clear()

        Removes all items from the CalendarExceptionCollection.