Aspose.Tasks for C++
|
Represents a period when a resource is available. More...
#include <AvailabilityPeriod.h>
Inherits System::Object.
Public Member Functions | |
System::DateTime | get_AvailableFrom () const |
Gets the date when a resource becomes available for the specified period. More... | |
void | set_AvailableFrom (System::DateTime value) |
Sets the date when a resource becomes available for the specified period. More... | |
System::DateTime | get_AvailableTo () const |
Gets the last date when a resource is available for the specified period. More... | |
void | set_AvailableTo (System::DateTime value) |
Sets the last date when a resource is available for the specified period. More... | |
double | get_AvailableUnits () const |
Gets the percentage of a resource which is available during the specified period. More... | |
void | set_AvailableUnits (double value) |
Sets the percentage of a resource which is available during the specified period. More... | |
AvailabilityPeriod () | |
Initializes a new instance of the AvailabilityPeriod. More... | |
AvailabilityPeriod (System::DateTime availableFrom, System::DateTime availableTo, double availableUnits) | |
Initializes a new instance of the AvailabilityPeriod with the specified date range and available units. More... | |
Represents a period when a resource is available.
Aspose::Tasks::AvailabilityPeriod::AvailabilityPeriod | ( | ) |
Initializes a new instance of the AvailabilityPeriod.
Aspose::Tasks::AvailabilityPeriod::AvailabilityPeriod | ( | System::DateTime | availableFrom, |
System::DateTime | availableTo, | ||
double | availableUnits | ||
) |
Initializes a new instance of the AvailabilityPeriod with the specified date range and available units.
System::DateTime Aspose::Tasks::AvailabilityPeriod::get_AvailableFrom | ( | ) | const |
Gets the date when a resource becomes available for the specified period.
System::DateTime Aspose::Tasks::AvailabilityPeriod::get_AvailableTo | ( | ) | const |
Gets the last date when a resource is available for the specified period.
double Aspose::Tasks::AvailabilityPeriod::get_AvailableUnits | ( | ) | const |
Gets the percentage of a resource which is available during the specified period.
void Aspose::Tasks::AvailabilityPeriod::set_AvailableFrom | ( | System::DateTime | value | ) |
Sets the date when a resource becomes available for the specified period.
void Aspose::Tasks::AvailabilityPeriod::set_AvailableTo | ( | System::DateTime | value | ) |
Sets the last date when a resource is available for the specified period.
void Aspose::Tasks::AvailabilityPeriod::set_AvailableUnits | ( | double | value | ) |
Sets the percentage of a resource which is available during the specified period.