The main class, represents an iCalendar recurrence. More...
Inherits IEquatable< System::SharedPtr< Aspose::Email::Calendar::Recurrences::CalendarRecurrence > >.
Public Member Functions | |
| System::DateTime | get_StartDate () const |
| Gets the start date. More... | |
| void | set_StartDate (System::DateTime value) |
| Sets the start date. More... | |
| System::DateTime | get_EndDate () const |
| Gets the end date. More... | |
| void | set_EndDate (System::DateTime value) |
| Sets the end date. More... | |
| System::SharedPtr< RecurrenceRuleCollection > | get_RRules () |
| Gets the R rules. More... | |
| System::SharedPtr< RecurrenceRuleCollection > | get_ExRules () |
| Gets the ex rules. More... | |
| System::SharedPtr< DateCollection > | get_RDates () |
| Gets the R dates. More... | |
| System::SharedPtr< DateCollection > | get_ExDates () |
| Gets the ex dates. More... | |
| CalendarRecurrence () | |
| Initializes a new instance of the CalendarRecurrence class. More... | |
| CalendarRecurrence (System::String pattern) | |
| Initializes a new instance of the CalendarRecurrence class. More... | |
| System::SharedPtr< DateCollection > | GenerateOccurrences () |
| Generates the occurrences. More... | |
| System::SharedPtr< DateCollection > | GenerateOccurrencesInternal () |
| Generates occurrences without Evaluation limitation.Use this method for internal calculation to avoid incorrect results. More... | |
| System::SharedPtr< DateCollection > | GenerateOccurrences (int32_t nNextOccurrences) |
| Generates n next occurrences. More... | |
| System::SharedPtr< DateCollection > | GenerateOccurrencesInternal (int32_t nNextOccurrences) |
| Generates n next occurrences without Evaluation limitation.Use this method for internal calculation to avoid incorrect results. More... | |
| System::SharedPtr< DateCollection > | GenerateOccurrences (System::DateTime rangeStart, System::DateTime rangeEnd) |
| Generates the occurrences. More... | |
| System::SharedPtr< DateCollection > | GenerateOccurrences (System::DateTime rangeEnd) |
| System::SharedPtr< DateCollection > | GenerateOccurrences (System::DateTime rangeStart, System::DateTime rangeEnd, int32_t nNextOccurrences) |
| Generates n next occurrences. More... | |
| System::String | ToiCalendar () |
| To iCalendar string. More... | |
| bool | Equals (System::SharedPtr< CalendarRecurrence > other) override |
| Determines whether the specified CalendarRecurrence is equal to this instance. More... | |
| bool | Equals (System::SharedPtr< System::Object > obj) override |
| Determines whether the specified Object is equal to the current Object. More... | |
| int32_t | GetHashCode () const override |
| Returns a hash code for this instance. More... | |
Static Public Member Functions | |
| static System::SharedPtr< CalendarRecurrence > | FromiCalendar (System::String pattern) |
| Gets a recurrence pattern from iCalendar string. More... | |
| static System::SharedPtr< CalendarRecurrence > | FromRecurrence (System::String xmlString) |
| Gets a recurrence pattern from XML pattern string. More... | |
| static System::SharedPtr< CalendarRecurrence > | FromRecurrence (System::SharedPtr< System::Xml::XmlElement > xmlElement) |
| Gets a recurrence pattern from XmlElement. More... | |
Static Public Attributes | |
| static System::DateTime | MaxEvaluationRangeEnd |
Protected Member Functions | |
| virtual | ~CalendarRecurrence () |
Friends | |
| class | Aspose::Email::Mapi::MapiTask |
| class | Aspose::Email::Mapi::MapiCalendar |
| class | Aspose::Email::Mapi::MapiCalendarRecurrencePatternFactory |
| bool | operator== (System::SharedPtr< CalendarRecurrence > left, System::SharedPtr< CalendarRecurrence > right) |
| bool | operator!= (System::SharedPtr< CalendarRecurrence > left, System::SharedPtr< CalendarRecurrence > right) |
The main class, represents an iCalendar recurrence.
| Aspose::Email::Calendar::Recurrences::CalendarRecurrence::CalendarRecurrence | ( | ) |
Initializes a new instance of the CalendarRecurrence class.
| Aspose::Email::Calendar::Recurrences::CalendarRecurrence::CalendarRecurrence | ( | System::String | pattern | ) |
Initializes a new instance of the CalendarRecurrence class.
| pattern | The pattern. |
|
protectedvirtual |
|
override |
Determines whether the specified CalendarRecurrence is equal to this instance.
| other | The CalendarRecurrence to compare with this instance. |
true if the specified CalendarRecurrence is equal to this instance; otherwise, false.
|
override |
Determines whether the specified Object is equal to the current Object.
| obj | The Object to compare with the current Object. |
|
static |
Gets a recurrence pattern from iCalendar string.
| pattern | StringSystem::String representation of iCalendar. |
|
static |
Gets a recurrence pattern from XmlElement.
| xmlElement | XmlElementSystem::Xml::XmlElement of pattern. |
|
static |
Gets a recurrence pattern from XML pattern string.
| xmlString | XML stringSystem::String of pattern. |
| System::SharedPtr<DateCollection> Aspose::Email::Calendar::Recurrences::CalendarRecurrence::GenerateOccurrences | ( | ) |
Generates the occurrences.
| Exception | throws if StartDate is not set. |
| System::SharedPtr<DateCollection> Aspose::Email::Calendar::Recurrences::CalendarRecurrence::GenerateOccurrences | ( | int32_t | nNextOccurrences | ) |
Generates n next occurrences.
| nNextOccurrences | The amount of needed occurrences. |
| Exception | throws if StartDate is not set. |
| ArgumentOutOfRangeException | throws if amount of needed occurrences is less or equal zero. |
| System::SharedPtr<DateCollection> Aspose::Email::Calendar::Recurrences::CalendarRecurrence::GenerateOccurrences | ( | System::DateTime | rangeEnd | ) |
| System::SharedPtr<DateCollection> Aspose::Email::Calendar::Recurrences::CalendarRecurrence::GenerateOccurrences | ( | System::DateTime | rangeStart, |
| System::DateTime | rangeEnd | ||
| ) |
Generates the occurrences.
| rangeStart | The range start. |
| rangeEnd | The range end. |
| Exception | throws if StartDate is not set |
| System::SharedPtr<DateCollection> Aspose::Email::Calendar::Recurrences::CalendarRecurrence::GenerateOccurrences | ( | System::DateTime | rangeStart, |
| System::DateTime | rangeEnd, | ||
| int32_t | nNextOccurrences | ||
| ) |
Generates n next occurrences.
| rangeStart | The range start. |
| rangeEnd | The range end. |
| nNextOccurrences | The amount of needed occurrences. |
| Exception | throws if StartDate is not set. |
| ArgumentOutOfRangeException | throws if amount of needed occurrences is less or equal zero. |
| System::SharedPtr<DateCollection> Aspose::Email::Calendar::Recurrences::CalendarRecurrence::GenerateOccurrencesInternal | ( | ) |
Generates occurrences without Evaluation limitation.Use this method for internal calculation to avoid incorrect results.
| Exception | throws if StartDate is not set. |
| System::SharedPtr<DateCollection> Aspose::Email::Calendar::Recurrences::CalendarRecurrence::GenerateOccurrencesInternal | ( | int32_t | nNextOccurrences | ) |
Generates n next occurrences without Evaluation limitation.Use this method for internal calculation to avoid incorrect results.
| nNextOccurrences | The amount of needed occurrences. |
| Exception | throws if StartDate is not set. |
| ArgumentOutOfRangeException | throws if amount of needed occurrences is less or equal zero. |
| System::DateTime Aspose::Email::Calendar::Recurrences::CalendarRecurrence::get_EndDate | ( | ) | const |
Gets the end date.
The end date.
| System::SharedPtr<DateCollection> Aspose::Email::Calendar::Recurrences::CalendarRecurrence::get_ExDates | ( | ) |
Gets the ex dates.
The ex dates.
| System::SharedPtr<RecurrenceRuleCollection> Aspose::Email::Calendar::Recurrences::CalendarRecurrence::get_ExRules | ( | ) |
Gets the ex rules.
The ex rules.
| System::SharedPtr<DateCollection> Aspose::Email::Calendar::Recurrences::CalendarRecurrence::get_RDates | ( | ) |
Gets the R dates.
The R dates.
| System::SharedPtr<RecurrenceRuleCollection> Aspose::Email::Calendar::Recurrences::CalendarRecurrence::get_RRules | ( | ) |
Gets the R rules.
The R rules.
| System::DateTime Aspose::Email::Calendar::Recurrences::CalendarRecurrence::get_StartDate | ( | ) | const |
Gets the start date.
The start date.
|
override |
Returns a hash code for this instance.
| void Aspose::Email::Calendar::Recurrences::CalendarRecurrence::set_EndDate | ( | System::DateTime | value | ) |
Sets the end date.
The end date.
| void Aspose::Email::Calendar::Recurrences::CalendarRecurrence::set_StartDate | ( | System::DateTime | value | ) |
Sets the start date.
The start date.
| System::String Aspose::Email::Calendar::Recurrences::CalendarRecurrence::ToiCalendar | ( | ) |
To iCalendar string.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
static |