Package com.aspose.tasks
Class AvailabilityPeriod
- java.lang.Object
-
- com.aspose.tasks.AvailabilityPeriod
-
public class AvailabilityPeriod extends Object
Represents a period when a resource is available.
-
-
Constructor Summary
Constructors Constructor Description AvailabilityPeriod()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getAvailableFrom()
Gets the date when a resource becomes available for the specified period.Date
getAvailableTo()
Gets the last date when a resource is available for the specified period.double
getAvailableUnits()
Gets the percentage of a resource which is available during the specified period.void
setAvailableFrom(Date value)
Sets the date when a resource becomes available for the specified period.void
setAvailableTo(Date value)
Sets the last date when a resource is available for the specified period.void
setAvailableUnits(double value)
Sets the percentage of a resource which is available during the specified period.
-
-
-
Method Detail
-
getAvailableFrom
public final Date getAvailableFrom()
Gets the date when a resource becomes available for the specified period.
- Returns:
- the date when a resource becomes available for the specified period.
-
setAvailableFrom
public final void setAvailableFrom(Date value)
Sets the date when a resource becomes available for the specified period.
- Parameters:
value
- the date when a resource becomes available for the specified period.
-
getAvailableTo
public final Date getAvailableTo()
Gets the last date when a resource is available for the specified period.
- Returns:
- the last date when a resource is available for the specified period.
-
setAvailableTo
public final void setAvailableTo(Date value)
Sets the last date when a resource is available for the specified period.
- Parameters:
value
- the last date when a resource is available for the specified period.
-
getAvailableUnits
public final double getAvailableUnits()
Gets the percentage of a resource which is available during the specified period.
- Returns:
- the percentage of a resource which is available during the specified period.
-
setAvailableUnits
public final void setAvailableUnits(double value)
Sets the percentage of a resource which is available during the specified period.
- Parameters:
value
- the percentage of a resource which is available during the specified period.
-
-