com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class AvailabilityPeriod



  • public class AvailabilityPeriod
    extends Object

    Represents a period when a resource is available.

    • Constructor Detail

      • AvailabilityPeriod

        public AvailabilityPeriod()

        Default constructor.

    • Method Detail

      • getAvailableFrom

        public Date getAvailableFrom()

        Returns the date when a resource becomes available for the specified period. Read/write Date.

        Returns:
        start date.
      • setAvailableFrom

        public void setAvailableFrom(Date value)

        Sets the date when a resource becomes available for the specified period. Read/write Date.

        Parameters:
        value - start date.
      • getAvailableTo

        public Date getAvailableTo()

        Returns the last date when a resource is available for the specified period. Read/write Date.

        Returns:
        end date.
      • setAvailableTo

        public void setAvailableTo(Date value)

        Sets the last date when a resource is available for the specified period. Read/write Date.

        Parameters:
        value - end date.
      • getAvailableUnits

        public double getAvailableUnits()

        Returns the percentage of a resource which is available during the specified period. Read/write double.

        Returns:
        available units.
      • setAvailableUnits

        public void setAvailableUnits(double value)

        Sets the percentage of a resource which is available during the specified period. Read/write double.

        Parameters:
        value - available units.
      • getParentResource

        public Resource getParentResource()

        Returns a parent Resource instance for this object.

        Returns:
        Resource instance which is parent for this object.