public class AvailabilityPeriod extends Object
Represents a period when a resource is available.
Constructor and Description |
---|
AvailabilityPeriod() |
Modifier and Type | Method and 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.
|
Resource |
getParentResource()
Gets the parent
Resource instance for this object. |
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.
|
public final Date getAvailableFrom()
Gets the date when a resource becomes available for the specified period.
public final void setAvailableFrom(Date value)
Sets the date when a resource becomes available for the specified period.
value
- the date when a resource becomes available for the specified period.public final Date getAvailableTo()
Gets the last date when a resource is available for the specified period.
public final void setAvailableTo(Date value)
Sets the last date when a resource is available for the specified period.
value
- the last date when a resource is available for the specified period.public final double getAvailableUnits()
Gets the percentage of a resource which is available during the specified period.
public final void setAvailableUnits(double value)
Sets the percentage of a resource which is available during the specified period.
value
- the percentage of a resource which is available during the specified period.