Aspose::Email::Mapi::MapiCalendarRecurrencePatternFactory Class Reference

Represents the factory of MapiCalendarRecurrencePattern More...

Inherits Object.

Public Member Functions

 MapiCalendarRecurrencePatternFactory ()=delete
 

Static Public Member Functions

static System::SharedPtr< MapiCalendarRecurrencePatternParseRecurrencePattern (System::ArrayPtr< uint8_t > recurrencePattern)
 Parses the MapiCalendarRecurrencePattern from the RecurrencePattern structure More...
 
static System::ArrayPtr< uint8_t > CreateAppointmentRecurData (System::SharedPtr< Aspose::Email::Calendar::Model::CalendarComponent > component, System::SharedPtr< System::Collections::Generic::ListExt< System::SharedPtr< Aspose::Email::Calendar::Model::Component::EventComponent >>> recurrenceSpecialCases, System::SharedPtr< MapiCalendarTimeZone > localTimeZone, System::SharedPtr< MapiMessageItemBase > parent)
 Creates the AppointmentRecur data. More...
 
static System::SharedPtr< MapiCalendarRecurrencePatternParseRecurrencePattern (System::SharedPtr< Aspose::Email::Calendar::Model::Recur > recurrencePattern)
 Parses the MapiCalendarRecurrencePattern from the calendar recurrence. More...
 
static System::ArrayPtr< uint8_t > ToByteArray (System::SharedPtr< MapiCalendarRecurrencePattern > recurrencePattern, System::DateTime startDate, System::DateTime endDate, System::DateTime startWhole, System::DateTime endWhole, System::DateTime clipStart, System::DateTime clipEnd, System::SharedPtr< MapiCalendarTimeZone > localTimeZone, bool isAllDay)
 Parses the MapiCalendarRecurrencePattern from the calendar recurrence. More...
 
static System::SharedPtr< MapiCalendarRecurrencePatternFromString (System::String pattern)
 Creates MapiCalendarRecurrencePattern from string pattern of recurrence rule. More...
 

Friends

class Aspose::Email::Clients::Exchange::WebService::TaskEwsConverter
 
class Aspose::Email::Tools::TaskConverter
 
class Aspose::Email::Mapi::MapiTask
 
class Aspose::Email::Mapi::MapiCalendar
 
class Aspose::Email::Mapi::MapiCalendarEventRecurrence
 
class Aspose::Email::Mapi::MapiMessage
 

Detailed Description

Represents the factory of MapiCalendarRecurrencePattern

Constructor & Destructor Documentation

◆ MapiCalendarRecurrencePatternFactory()

Aspose::Email::Mapi::MapiCalendarRecurrencePatternFactory::MapiCalendarRecurrencePatternFactory ( )
delete

Member Function Documentation

◆ CreateAppointmentRecurData()

static System::ArrayPtr<uint8_t> Aspose::Email::Mapi::MapiCalendarRecurrencePatternFactory::CreateAppointmentRecurData ( System::SharedPtr< Aspose::Email::Calendar::Model::CalendarComponent >  component,
System::SharedPtr< System::Collections::Generic::ListExt< System::SharedPtr< Aspose::Email::Calendar::Model::Component::EventComponent >>>  recurrenceSpecialCases,
System::SharedPtr< MapiCalendarTimeZone localTimeZone,
System::SharedPtr< MapiMessageItemBase parent 
)
static

Creates the AppointmentRecur data.

Parameters
componentThe calendar component of iCalendar.
recurrenceSpecialCases
localTimeZoneThe calendar local TimeZone
Returns
The byte array that represents AppointmentRecur data.

◆ FromString()

static System::SharedPtr<MapiCalendarRecurrencePattern> Aspose::Email::Mapi::MapiCalendarRecurrencePatternFactory::FromString ( System::String  pattern)
static

Creates MapiCalendarRecurrencePattern from string pattern of recurrence rule.

Parameters
patternThe string value of recurrence rule in iCalendar format.
Returns

◆ ParseRecurrencePattern() [1/2]

static System::SharedPtr<MapiCalendarRecurrencePattern> Aspose::Email::Mapi::MapiCalendarRecurrencePatternFactory::ParseRecurrencePattern ( System::ArrayPtr< uint8_t >  recurrencePattern)
static

Parses the MapiCalendarRecurrencePattern from the RecurrencePattern structure

Parameters
recurrencePatternA byte array containing RecurrencePattern structure
Exceptions
ArgumentNullExceptionrecurrencePattern is null
Returns
A parsed MapiCalendarRecurrencePattern

◆ ParseRecurrencePattern() [2/2]

static System::SharedPtr<MapiCalendarRecurrencePattern> Aspose::Email::Mapi::MapiCalendarRecurrencePatternFactory::ParseRecurrencePattern ( System::SharedPtr< Aspose::Email::Calendar::Model::Recur >  recurrencePattern)
static

Parses the MapiCalendarRecurrencePattern from the calendar recurrence.

Parameters
recurrencePatternThe recurrence pattern.
Returns
A parsed MapiCalendarRecurrencePattern

◆ ToByteArray()

static System::ArrayPtr<uint8_t> Aspose::Email::Mapi::MapiCalendarRecurrencePatternFactory::ToByteArray ( System::SharedPtr< MapiCalendarRecurrencePattern recurrencePattern,
System::DateTime  startDate,
System::DateTime  endDate,
System::DateTime  startWhole,
System::DateTime  endWhole,
System::DateTime  clipStart,
System::DateTime  clipEnd,
System::SharedPtr< MapiCalendarTimeZone localTimeZone,
bool  isAllDay 
)
static

Parses the MapiCalendarRecurrencePattern from the calendar recurrence.

Parameters
recurrencePatternThe recurrence pattern.
startDateThe start date.
endDateThe end date.
startWholePidLidAppointmentStartWhole(https://docs.microsoft.com/en-us/office/client-developer/outlook/mapi/pidlidappointmentstartwhole-canonical-property) For a recurring series, this property is the start date and time of the first instance according to the recurrence pattern.
endWholePidLidAppointmentEndWhole(https://docs.microsoft.com/en-us/office/client-developer/outlook/mapi/pidlidappointmentendwhole-canonical-property) For a recurring series, the dispidApptEndWhole property is the end date and time of the first instance according to the recurrence pattern.
clipStartPidLidClipStart(https://docs.microsoft.com/en-us/office/client-developer/outlook/mapi/pidlidclipstart-canonical-property) Specifies midnight on the date of the first instance in UTC for a recurring series.
clipEndPidLidClipEnd(https://docs.microsoft.com/en-us/office/client-developer/outlook/mapi/pidlidclipend-canonical-property) For a recurring series, this property specifies midnight on the date of the last instance of the recurring series in UTC, unless the recurring series has no end, in which case the value must be 31 August 4500, 11:59 p.m.
localTimeZoneThe local TimeZone.
isAllDayThe AllDay property.
Returns
A parsed MapiCalendarRecurrencePattern

Friends And Related Function Documentation

◆ Aspose::Email::Clients::Exchange::WebService::TaskEwsConverter

friend class Aspose::Email::Clients::Exchange::WebService::TaskEwsConverter
friend

◆ Aspose::Email::Mapi::MapiCalendar

friend class Aspose::Email::Mapi::MapiCalendar
friend

◆ Aspose::Email::Mapi::MapiCalendarEventRecurrence

◆ Aspose::Email::Mapi::MapiMessage

friend class Aspose::Email::Mapi::MapiMessage
friend

◆ Aspose::Email::Mapi::MapiTask

friend class Aspose::Email::Mapi::MapiTask
friend

◆ Aspose::Email::Tools::TaskConverter

friend class Aspose::Email::Tools::TaskConverter
friend