8 #include <system/object.h>
9 #include <system/date_time.h>
11 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
21 class MppAvailabilityWriter;
41 typedef System::Object BaseType;
43 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
44 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
46 friend class Aspose::Tasks::IO::MSProject::MppAvailabilityWriter;
53 ASPOSE_TASKS_SHARED_API System::DateTime get_AvailableFrom()
const;
57 ASPOSE_TASKS_SHARED_API
void set_AvailableFrom(System::DateTime value);
61 ASPOSE_TASKS_SHARED_API System::DateTime get_AvailableTo()
const;
65 ASPOSE_TASKS_SHARED_API
void set_AvailableTo(System::DateTime value);
69 ASPOSE_TASKS_SHARED_API
double get_AvailableUnits()
const;
73 ASPOSE_TASKS_SHARED_API
void set_AvailableUnits(
double value);
82 ASPOSE_TASKS_SHARED_API
AvailabilityPeriod(System::DateTime availableFrom, System::DateTime availableTo,
double availableUnits);
86 ASPOSE_TASKS_SHARED_API
bool get_IsImplicit()
const;
87 ASPOSE_TASKS_SHARED_API System::String get_DebuggerDisplay();
89 static ASPOSE_TASKS_SHARED_API System::SharedPtr<AvailabilityPeriod> CreateImplicit(System::DateTime availableFrom, System::DateTime availableTo);
90 ASPOSE_TASKS_SHARED_API
bool Intersects(
const System::SharedPtr<AvailabilityPeriod>& another);
91 static ASPOSE_TASKS_SHARED_API System::String FormatDate(System::DateTime date);
92 #ifdef ASPOSE_GET_SHARED_MEMBERS
93 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
99 System::DateTime pr_AvailableFrom;
100 System::DateTime pr_AvailableTo;
101 double pr_AvailableUnits;
104 ASPOSE_TASKS_SHARED_API
void set_IsImplicit(
bool value);
Represents a period when a resource is available.
Definition: AvailabilityPeriod.h:38