8 #include <system/object.h>
9 #include <system/date_time.h>
12 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
19 class CalendarDatesCalculator;
20 class DatesCalculator;
21 class SplitPartCollection;
22 class SplitPartComparer;
23 class SplitsCalculator;
25 namespace Visualization
27 class GanttPageTaskBarBuilder;
44 class ASPOSE_TASKS_SHARED_CLASS
SplitPart :
public System::Object
47 typedef System::Object BaseType;
49 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
50 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
53 friend class Aspose::Tasks::SplitPartComparer;
54 friend class Aspose::Tasks::Visualization::GanttPageTaskBarBuilder;
55 friend class Aspose::Tasks::CalendarDatesCalculator;
56 friend class Aspose::Tasks::DatesCalculator;
57 friend class Aspose::Tasks::SplitsCalculator;
65 ASPOSE_TASKS_SHARED_API System::DateTime
get_Start()
const;
69 ASPOSE_TASKS_SHARED_API System::DateTime
get_Finish()
const;
76 ASPOSE_TASKS_SHARED_API
bool Equals(System::SharedPtr<System::Object> obj)
override;
88 ASPOSE_TASKS_SHARED_API
void set_Start(System::DateTime value);
92 ASPOSE_TASKS_SHARED_API
void set_Finish(System::DateTime value);
93 ASPOSE_TASKS_SHARED_API
bool get_IsEmpty();
95 ASPOSE_TASKS_SHARED_API
SplitPart(System::DateTime start, System::DateTime finish);
97 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
SplitPart, CODEPORTING_ARGS(System::DateTime start, System::DateTime finish));
98 ASPOSE_TASKS_SHARED_API System::TimeSpan GetWork(
const System::SharedPtr<Calendar>& calendar1,
const System::SharedPtr<Calendar>& calendar2);
100 virtual ASPOSE_TASKS_SHARED_API ~
SplitPart();
102 #ifdef ASPOSE_GET_SHARED_MEMBERS
103 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
109 System::DateTime pr_Start;
110 System::DateTime pr_Finish;
112 System::String get_DebuggerDisplay();
Collection that represents the portions of a task.
Definition: SplitPartCollection.h:51
Represents a task portion. The SplitPart is a member of the task's SplitParts collection.
Definition: SplitPart.h:45
System::DateTime get_Finish() const
Gets the finish date of a SplitPart.
System::DateTime get_Start() const
Gets the start date of a SplitPart.
bool Equals(System::SharedPtr< System::Object > obj) override
Compares two split parts.
int32_t GetHashCode() const override
Returns a hash code value for the instance of the SplitPart class.
Represents a task in a project.
Definition: Task.h:384