Aspose.Tasks for C++
Aspose::Tasks::AvailabilityPeriod Class Reference

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...
 

Detailed Description

Represents a period when a resource is available.

Member Function Documentation

◆ get_AvailableFrom()

System::DateTime Aspose::Tasks::AvailabilityPeriod::get_AvailableFrom ( ) const

Gets the date when a resource becomes available for the specified period.

◆ get_AvailableTo()

System::DateTime Aspose::Tasks::AvailabilityPeriod::get_AvailableTo ( ) const

Gets the last date when a resource is available for the specified period.

◆ get_AvailableUnits()

double Aspose::Tasks::AvailabilityPeriod::get_AvailableUnits ( ) const

Gets the percentage of a resource which is available during the specified period.

◆ set_AvailableFrom()

void Aspose::Tasks::AvailabilityPeriod::set_AvailableFrom ( System::DateTime  value)

Sets the date when a resource becomes available for the specified period.

◆ set_AvailableTo()

void Aspose::Tasks::AvailabilityPeriod::set_AvailableTo ( System::DateTime  value)

Sets the last date when a resource is available for the specified period.

◆ set_AvailableUnits()

void Aspose::Tasks::AvailabilityPeriod::set_AvailableUnits ( double  value)

Sets the percentage of a resource which is available during the specified period.