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()
Returns the date when a resource becomes available for the specified period.
|
Date |
getAvailableTo()
Returns the last date when a resource is available for the specified period.
|
double |
getAvailableUnits()
Returns the percentage of a resource which is available during the specified period.
|
Resource |
getParentResource()
Returns a 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 Date getAvailableFrom()
Returns the date when a resource becomes available for the specified period.
Read/write Date
.
public void setAvailableFrom(Date value)
Sets the date when a resource becomes available for the specified period.
Read/write Date
.
value
- start date.public Date getAvailableTo()
Returns the last date when a resource is available for the specified period.
Read/write Date
.
public void setAvailableTo(Date value)
Sets the last date when a resource is available for the specified period.
Read/write Date
.
value
- end date.public double getAvailableUnits()
Returns the percentage of a resource which is available during the specified period.
Read/write double
.
public void setAvailableUnits(double value)
Sets the percentage of a resource which is available during the specified period.
Read/write double
.
value
- available units.public Resource getParentResource()
Returns a parent Resource
instance for this object.
Resource
instance which is parent for this object.Copyright (c) 2008-2018 Aspose Pty Ltd. All Rights Reserved.