Aspose::Email::Mapi::MapiCalendarTimeZoneRule Class Referencefinal

Represents time zone rule that indicate when to begin using the Standard/Daylight time. More...

Inherits Object.

Public Member Functions

uint16_t get_Year () const
 Gets the year More...
 
void set_Year (uint16_t value)
 Sets the year More...
 
uint16_t get_Month () const
 Gets the month More...
 
void set_Month (uint16_t value)
 Sets the month More...
 
System::DayOfWeek get_DayOfWeek () const
 Gets the day of week More...
 
void set_DayOfWeek (System::DayOfWeek value)
 Sets the day of week More...
 
Aspose::Email::Calendar::Recurrences::DayPosition get_Position () const
 Gets the day position More...
 
void set_Position (Aspose::Email::Calendar::Recurrences::DayPosition value)
 Sets the day position More...
 
uint16_t get_Hour () const
 Gets the hour More...
 
void set_Hour (uint16_t value)
 Sets the hour More...
 
uint16_t get_Minute () const
 Gets the minutes More...
 
void set_Minute (uint16_t value)
 Sets the minutes More...
 
uint16_t get_Seconds () const
 Gets the seconds More...
 
void set_Seconds (uint16_t value)
 Sets the seconds More...
 
uint16_t get_Milliseconds () const
 Gets the milliseconds More...
 
void set_Milliseconds (uint16_t value)
 Sets the milliseconds More...
 
System::DateTime get_Date ()
 Gets the date and time that indicate when to begin using the Standard/Daylight time. More...
 
 MapiCalendarTimeZoneRule ()
 Initializes a new instance of the MapiCalendarTimeZoneRule class. More...
 
 MapiCalendarTimeZoneRule (System::TimeZoneInfo::TransitionTime transitionTime)
 
System::ArrayPtr< uint8_t > ToByteArray ()
 
System::SharedPtr< Aspose::Email::Calendar::Model::Property::RRuleProperty > ToRruleProperty ()
 Converts this instance to the corresponding RRuleProperty More...
 
System::DateTime GetDateTime (int32_t year)
 Gets the start date and time of this rule for the specified year More...
 

Static Public Member Functions

static System::SharedPtr< MapiCalendarTimeZoneRuleParseSystemtime (System::SharedPtr< System::IO::BinaryReader > reader)
 Reads the MapiCalendarTimeZoneRule from the SYSTEMTIME struct More...
 

Friends

class Aspose::Email::Mapi::MapiCalendarTimeZoneInfo
 

Detailed Description

Represents time zone rule that indicate when to begin using the Standard/Daylight time.

Constructor & Destructor Documentation

◆ MapiCalendarTimeZoneRule() [1/2]

Aspose::Email::Mapi::MapiCalendarTimeZoneRule::MapiCalendarTimeZoneRule ( )

Initializes a new instance of the MapiCalendarTimeZoneRule class.

◆ MapiCalendarTimeZoneRule() [2/2]

Aspose::Email::Mapi::MapiCalendarTimeZoneRule::MapiCalendarTimeZoneRule ( System::TimeZoneInfo::TransitionTime  transitionTime)

Member Function Documentation

◆ get_Date()

System::DateTime Aspose::Email::Mapi::MapiCalendarTimeZoneRule::get_Date ( )

Gets the date and time that indicate when to begin using the Standard/Daylight time.

◆ get_DayOfWeek()

System::DayOfWeek Aspose::Email::Mapi::MapiCalendarTimeZoneRule::get_DayOfWeek ( ) const

Gets the day of week

◆ get_Hour()

uint16_t Aspose::Email::Mapi::MapiCalendarTimeZoneRule::get_Hour ( ) const

Gets the hour

◆ get_Milliseconds()

uint16_t Aspose::Email::Mapi::MapiCalendarTimeZoneRule::get_Milliseconds ( ) const

Gets the milliseconds

◆ get_Minute()

uint16_t Aspose::Email::Mapi::MapiCalendarTimeZoneRule::get_Minute ( ) const

Gets the minutes

◆ get_Month()

uint16_t Aspose::Email::Mapi::MapiCalendarTimeZoneRule::get_Month ( ) const

Gets the month

◆ get_Position()

Aspose::Email::Calendar::Recurrences::DayPosition Aspose::Email::Mapi::MapiCalendarTimeZoneRule::get_Position ( ) const

Gets the day position

◆ get_Seconds()

uint16_t Aspose::Email::Mapi::MapiCalendarTimeZoneRule::get_Seconds ( ) const

Gets the seconds

◆ get_Year()

uint16_t Aspose::Email::Mapi::MapiCalendarTimeZoneRule::get_Year ( ) const

Gets the year

◆ GetDateTime()

System::DateTime Aspose::Email::Mapi::MapiCalendarTimeZoneRule::GetDateTime ( int32_t  year)

Gets the start date and time of this rule for the specified year

Parameters
yearA year
Returns
A DateTime

◆ ParseSystemtime()

static System::SharedPtr<MapiCalendarTimeZoneRule> Aspose::Email::Mapi::MapiCalendarTimeZoneRule::ParseSystemtime ( System::SharedPtr< System::IO::BinaryReader >  reader)
static

Reads the MapiCalendarTimeZoneRule from the SYSTEMTIME struct

Parameters
readerA BinaryReader to read from
Returns
A read MapiCalendarTimeZoneRule
Exceptions
ArgumentNullExceptionreader is null
ArgumentExceptionreader does not contain enough bytes

◆ set_DayOfWeek()

void Aspose::Email::Mapi::MapiCalendarTimeZoneRule::set_DayOfWeek ( System::DayOfWeek  value)

Sets the day of week

◆ set_Hour()

void Aspose::Email::Mapi::MapiCalendarTimeZoneRule::set_Hour ( uint16_t  value)

Sets the hour

◆ set_Milliseconds()

void Aspose::Email::Mapi::MapiCalendarTimeZoneRule::set_Milliseconds ( uint16_t  value)

Sets the milliseconds

◆ set_Minute()

void Aspose::Email::Mapi::MapiCalendarTimeZoneRule::set_Minute ( uint16_t  value)

Sets the minutes

◆ set_Month()

void Aspose::Email::Mapi::MapiCalendarTimeZoneRule::set_Month ( uint16_t  value)

Sets the month

◆ set_Position()

void Aspose::Email::Mapi::MapiCalendarTimeZoneRule::set_Position ( Aspose::Email::Calendar::Recurrences::DayPosition  value)

Sets the day position

◆ set_Seconds()

void Aspose::Email::Mapi::MapiCalendarTimeZoneRule::set_Seconds ( uint16_t  value)

Sets the seconds

◆ set_Year()

void Aspose::Email::Mapi::MapiCalendarTimeZoneRule::set_Year ( uint16_t  value)

Sets the year

◆ ToByteArray()

System::ArrayPtr<uint8_t> Aspose::Email::Mapi::MapiCalendarTimeZoneRule::ToByteArray ( )

◆ ToRruleProperty()

System::SharedPtr<Aspose::Email::Calendar::Model::Property::RRuleProperty> Aspose::Email::Mapi::MapiCalendarTimeZoneRule::ToRruleProperty ( )

Converts this instance to the corresponding RRuleProperty

Returns
A converted RRuleProperty

Friends And Related Function Documentation

◆ Aspose::Email::Mapi::MapiCalendarTimeZoneInfo