Class AvailabilityPeriod
Namespace: Aspose.Tasks
Assembly: Aspose.Tasks.dll (25.2.0)
Represents a period when a resource is available.
[ClassInterface(ClassInterfaceType.AutoDual)]
public class AvailabilityPeriod
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
AvailabilityPeriod()
Initializes a new instance of the Aspose.Tasks.AvailabilityPeriod.
public AvailabilityPeriod()
AvailabilityPeriod(DateTime, DateTime, double)
Initializes a new instance of the Aspose.Tasks.AvailabilityPeriod with the specified date range and available units.
public AvailabilityPeriod(DateTime availableFrom, DateTime availableTo, double availableUnits)
Parameters
availableFrom
DateTime
availableTo
DateTime
availableUnits
double
Properties
AvailableFrom
Gets or sets the date when a resource becomes available for the specified period.
public DateTime AvailableFrom { get; set; }
Property Value
AvailableTo
Gets or sets the last date when a resource is available for the specified period.
public DateTime AvailableTo { get; set; }
Property Value
AvailableUnits
Gets or sets the percentage of a resource which is available during the specified period.
public double AvailableUnits { get; set; }