com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class WorkingTimeCollection

    • Method Detail

      • getCount

        public int getCount()

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

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

        public boolean add(WorkingTime wt)

        Adds a new WorkingTime instance to this collection.

        Parameters:
        wt - WorkingTime instance to add.
        Returns:
        true if WorkingTime object has been added successfully; otherwise, false.
      • remove

        public boolean remove(WorkingTime wt)

        Removes WorkingTime instance from this collection.

        Parameters:
        wt - WorkingTime instance to remove.
        Returns:
        true if WorkingTime instance was successfully removed from this collection; otherwise, false.
      • toList

        public List<WorkingTime> toList()

        Converts the WorkingTimeCollection object to a list of WorkingTime objects.

        Returns:
        List of WorkingTime objects.