Aspose::Email::Calendar::Recurrences::RecurrencePattern Class Reference

Represents a recurrence pattern. More...

Inherits Object.

Inherited by Aspose::Email::Calendar::Recurrences::DailyRecurrencePattern, Aspose::Email::Calendar::Recurrences::MonthlyRecurrencePattern, Aspose::Email::Calendar::Recurrences::WeeklyRecurrencePattern, Aspose::Email::Calendar::Recurrences::YearlyRecurrencePattern, and Aspose::Email::Clients::Exchange::WebService::TaskRegeneratingPattern.

Public Member Functions

int32_t get_Interval () const
 Gets the number of recurrence units. More...
 
void set_Interval (int32_t value)
 Sets the number of recurrence units. More...
 
int32_t get_Occurs () const
 Gets the number of occurrences of the recurrence pattern. More...
 
void set_Occurs (int32_t value)
 Sets the number of occurrences of the recurrence pattern. More...
 
System::DateTime get_EndDate () const
 Gets the end date. More...
 
void set_EndDate (System::DateTime value)
 Sets the end date. More...
 
CalendarDay get_WeekStart () const
 Gets the week start. More...
 
void set_WeekStart (CalendarDay value)
 Sets the week start. More...
 

Static Public Member Functions

static System::SharedPtr< Aspose::Email::Calendar::Model::Property::RRuleProperty > BuildYearlyRRule (System::SharedPtr< YearlyRecurrencePattern > p)
 
static System::SharedPtr< Aspose::Email::Calendar::Model::Property::RRuleProperty > BuildMonthlyRRule (System::SharedPtr< MonthlyRecurrencePattern > p)
 
static System::SharedPtr< Aspose::Email::Calendar::Model::Property::RRuleProperty > BuildWeeklyRRule (System::SharedPtr< WeeklyRecurrencePattern > p)
 
static System::SharedPtr< Aspose::Email::Calendar::Model::Property::RRuleProperty > BuildDailyRRule (System::SharedPtr< DailyRecurrencePattern > p)
 
static System::SharedPtr< RecurrencePatternto_RecurrencePattern (System::String value)
 

Protected Member Functions

 RecurrencePattern ()
 Initializes a new instance of the RecurrencePattern class. More...
 
 RecurrencePattern (System::DateTime endDate)
 Initializes a new instance of the RecurrencePattern class. More...
 
 RecurrencePattern (int32_t occurs)
 Initializes a new instance of the RecurrencePattern class. More...
 
 RecurrencePattern (System::DateTime endDate, int32_t interval)
 Initializes a new instance of the RecurrencePattern class. More...
 
 RecurrencePattern (int32_t occurs, int32_t interval)
 Initializes a new instance of the RecurrencePattern class. More...
 

Friends

class Aspose::Email::Calendar::Recurrences::DailyRecurrencePattern
 
class Aspose::Email::Calendar::Recurrences::WeeklyRecurrencePattern
 
class Aspose::Email::Tools::CalendarConverter
 

Detailed Description

Represents a recurrence pattern.

Constructor & Destructor Documentation

◆ RecurrencePattern() [1/5]

Aspose::Email::Calendar::Recurrences::RecurrencePattern::RecurrencePattern ( )
protected

Initializes a new instance of the RecurrencePattern class.

◆ RecurrencePattern() [2/5]

Aspose::Email::Calendar::Recurrences::RecurrencePattern::RecurrencePattern ( System::DateTime  endDate)
protected

Initializes a new instance of the RecurrencePattern class.

Parameters
endDateThe end date.

◆ RecurrencePattern() [3/5]

Aspose::Email::Calendar::Recurrences::RecurrencePattern::RecurrencePattern ( int32_t  occurs)
protected

Initializes a new instance of the RecurrencePattern class.

Parameters
occursThe number of occurrences of the recurrence pattern.

◆ RecurrencePattern() [4/5]

Aspose::Email::Calendar::Recurrences::RecurrencePattern::RecurrencePattern ( System::DateTime  endDate,
int32_t  interval 
)
protected

Initializes a new instance of the RecurrencePattern class.

Parameters
endDateThe ending date for each recurrence.
intervalThe number of recurrence units.

◆ RecurrencePattern() [5/5]

Aspose::Email::Calendar::Recurrences::RecurrencePattern::RecurrencePattern ( int32_t  occurs,
int32_t  interval 
)
protected

Initializes a new instance of the RecurrencePattern class.

Parameters
occursThe number of occurrences of the recurrence pattern.
intervalThe number of recurrence units.

Member Function Documentation

◆ BuildDailyRRule()

static System::SharedPtr<Aspose::Email::Calendar::Model::Property::RRuleProperty> Aspose::Email::Calendar::Recurrences::RecurrencePattern::BuildDailyRRule ( System::SharedPtr< DailyRecurrencePattern p)
static

◆ BuildMonthlyRRule()

static System::SharedPtr<Aspose::Email::Calendar::Model::Property::RRuleProperty> Aspose::Email::Calendar::Recurrences::RecurrencePattern::BuildMonthlyRRule ( System::SharedPtr< MonthlyRecurrencePattern p)
static

◆ BuildWeeklyRRule()

static System::SharedPtr<Aspose::Email::Calendar::Model::Property::RRuleProperty> Aspose::Email::Calendar::Recurrences::RecurrencePattern::BuildWeeklyRRule ( System::SharedPtr< WeeklyRecurrencePattern p)
static

◆ BuildYearlyRRule()

static System::SharedPtr<Aspose::Email::Calendar::Model::Property::RRuleProperty> Aspose::Email::Calendar::Recurrences::RecurrencePattern::BuildYearlyRRule ( System::SharedPtr< YearlyRecurrencePattern p)
static

◆ get_EndDate()

System::DateTime Aspose::Email::Calendar::Recurrences::RecurrencePattern::get_EndDate ( ) const

Gets the end date.

The end date.

◆ get_Interval()

int32_t Aspose::Email::Calendar::Recurrences::RecurrencePattern::get_Interval ( ) const

Gets the number of recurrence units.

The number of recurrence units.

◆ get_Occurs()

int32_t Aspose::Email::Calendar::Recurrences::RecurrencePattern::get_Occurs ( ) const

Gets the number of occurrences of the recurrence pattern.

The number of occurrences.

◆ get_WeekStart()

CalendarDay Aspose::Email::Calendar::Recurrences::RecurrencePattern::get_WeekStart ( ) const

Gets the week start.

The week start.

◆ set_EndDate()

void Aspose::Email::Calendar::Recurrences::RecurrencePattern::set_EndDate ( System::DateTime  value)

Sets the end date.

The end date.

◆ set_Interval()

void Aspose::Email::Calendar::Recurrences::RecurrencePattern::set_Interval ( int32_t  value)

Sets the number of recurrence units.

The number of recurrence units.

◆ set_Occurs()

void Aspose::Email::Calendar::Recurrences::RecurrencePattern::set_Occurs ( int32_t  value)

Sets the number of occurrences of the recurrence pattern.

The number of occurrences.

◆ set_WeekStart()

void Aspose::Email::Calendar::Recurrences::RecurrencePattern::set_WeekStart ( CalendarDay  value)

Sets the week start.

The week start.

◆ to_RecurrencePattern()

static System::SharedPtr<RecurrencePattern> Aspose::Email::Calendar::Recurrences::RecurrencePattern::to_RecurrencePattern ( System::String  value)
static

Friends And Related Function Documentation

◆ Aspose::Email::Calendar::Recurrences::DailyRecurrencePattern

◆ Aspose::Email::Calendar::Recurrences::WeeklyRecurrencePattern

◆ Aspose::Email::Tools::CalendarConverter

friend class Aspose::Email::Tools::CalendarConverter
friend