Aspose.Tasks for C++
EndByRecurrenceRange.h
1 #pragma once
2 //-----------------------------------------------------------------------
3 // <copyright file="EndByRecurrenceRange.cs" company="Aspose Pty Ltd">
4 // Copyright (c) 2002-2024 Aspose Pty Ltd. All Rights Reserved.
5 // </copyright>
6 //-----------------------------------------------------------------------
7 
8 #include <system/date_time.h>
9 
10 #include "aspose.tasks.cpp/Recurring/RecurrenceRangeBase.h"
11 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
12 
13 namespace Aspose
14 {
15 namespace Tasks
16 {
17 class WorkUnit;
18 } // namespace Tasks
19 } // namespace Aspose
20 namespace System
21 {
22 namespace Collections
23 {
24 namespace Generic
25 {
26 template <typename> class IEnumerable;
27 } // namespace Generic
28 } // namespace Collections
29 } // namespace System
30 
31 namespace Aspose {
32 
33 namespace Tasks {
34 
35 /// <summary>
36 /// Represents the recurrence range of recurring task which is limited by finish day.
37 /// </summary>
38 class ASPOSE_TASKS_SHARED_CLASS EndByRecurrenceRange : public Aspose::Tasks::RecurrenceRangeBase
39 {
42 
43  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
44  ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
45 
46 public:
47 
48  /// <summary>
49  /// Gets the date which limits the recurrence range of the recurring task.
50  /// </summary>
51  ASPOSE_TASKS_SHARED_API System::DateTime get_Finish() const;
52  /// <summary>
53  /// Sets the date which limits the recurrence range of the recurring task.
54  /// </summary>
55  ASPOSE_TASKS_SHARED_API void set_Finish(System::DateTime value);
56 
57  /// <summary>
58  /// Initializes a new instance of the <see cref="EndByRecurrenceRange"></see> class.
59  /// </summary>
60  // ReSharper disable once EmptyConstructor
61  ASPOSE_TASKS_SHARED_API EndByRecurrenceRange();
62 
63 protected:
64 
65  ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<WorkUnit>>> GetDateRanges() override;
66  #ifdef ASPOSE_GET_SHARED_MEMBERS
67  ASPOSE_TASKS_SHARED_API void GetSharedMembers(System::Object::shared_members_type& result) const override;
68  #endif
69 
70 
71 private:
72 
73  System::DateTime pr_Finish;
74 
75 };
76 
77 } // namespace Tasks
78 } // namespace Aspose
79 
80 
Represents the recurrence range of recurring task which is limited by finish day.
Definition: EndByRecurrenceRange.h:39
EndByRecurrenceRange()
Initializes a new instance of the EndByRecurrenceRange class.
System::DateTime get_Finish() const
Gets the date which limits the recurrence range of the recurring task.
void set_Finish(System::DateTime value)
Sets the date which limits the recurrence range of the recurring task.
Represents the recurrence range of recurring task.
Definition: RecurrenceRangeBase.h:50
Definition: Asn.h:13