Aspose::Email::Mapi::MapiCalendarTimeZoneInfo Class Referencefinal

Represents the mapi calendar time zone rule More...

Inherits Object.

Public Member Functions

MapiCalendarTimeZoneFlags get_TimeZoneFlags () const
 Gets individual bit flags that specify information about this TimeZoneRule More...
 
void set_TimeZoneFlags (MapiCalendarTimeZoneFlags value)
 Sets individual bit flags that specify information about this TimeZoneRule More...
 
uint16_t get_Year () const
 Gets the year in which this rule is scheduled to take effect. More...
 
void set_Year (uint16_t value)
 Sets the year in which this rule is scheduled to take effect. More...
 
int32_t get_Bias () const
 Gets the time zone's offset in minutes from UTC. More...
 
void set_Bias (int32_t value)
 Sets the time zone's offset in minutes from UTC. More...
 
int32_t get_StandardBias () const
 Gets the offset in minutes from lBias during standard time. More...
 
void set_StandardBias (int32_t value)
 Sets the offset in minutes from lBias during standard time. More...
 
int32_t get_DaylightBias () const
 Gets offset in minutes from lBias during daylight saving time. More...
 
void set_DaylightBias (int32_t value)
 Sets offset in minutes from lBias during daylight saving time. More...
 
System::SharedPtr< MapiCalendarTimeZoneRuleget_StandardDate () const
 Gets the date and local time that indicate when to begin using the StandardBias. More...
 
void set_StandardDate (System::SharedPtr< MapiCalendarTimeZoneRule > value)
 Sets the date and local time that indicate when to begin using the StandardBias. More...
 
System::SharedPtr< MapiCalendarTimeZoneRuleget_DaylightDate () const
 Gets the date and local time that indicate when to begin using the DaylightBias. More...
 
void set_DaylightDate (System::SharedPtr< MapiCalendarTimeZoneRule > value)
 Sets the date and local time that indicate when to begin using the DaylightBias. More...
 
 MapiCalendarTimeZoneInfo ()
 Initializes a new instance of the MapiCalendarTimeZoneInfo class. More...
 
 MapiCalendarTimeZoneInfo (System::SharedPtr< System::TimeZoneInfo::AdjustmentRule > rule)
 
System::SharedPtr< Aspose::Email::Calendar::Model::Component::TimeZoneComponent > ToTimeZoneComponent ()
 Converts this instance into the corresponding iCalendar TimeZoneComponent More...
 
bool IsDaylightSavingTime (System::DateTime dateTime)
 Returns a value indicating whether this DateTime is within the daylight saving time range for this time zone. More...
 
System::ArrayPtr< uint8_t > ToByteArray ()
 
System::ArrayPtr< uint8_t > ToTimeZoneStructByteArray ()
 For TimeZoneStruct serialization More...
 

Static Public Member Functions

static System::SharedPtr< MapiCalendarTimeZoneInfoParseTimeZoneStruct (System::ArrayPtr< uint8_t > timeZoneStruct)
 Parses the time zone rule information from the time zone struct More...
 
static System::SharedPtr< MapiCalendarTimeZoneInfoParseTimeZoneRule (System::SharedPtr< System::IO::BinaryReader > reader)
 Parses the time zone rule information from the time zone rule More...
 

Friends

class Aspose::Email::Mapi::MapiCalendar
 
class Aspose::Email::Mapi::MapiCalendarTimeZone
 
class Aspose::Email::Mapi::MapiMessage
 

Detailed Description

Represents the mapi calendar time zone rule

Constructor & Destructor Documentation

◆ MapiCalendarTimeZoneInfo() [1/2]

Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::MapiCalendarTimeZoneInfo ( )

Initializes a new instance of the MapiCalendarTimeZoneInfo class.

◆ MapiCalendarTimeZoneInfo() [2/2]

Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::MapiCalendarTimeZoneInfo ( System::SharedPtr< System::TimeZoneInfo::AdjustmentRule >  rule)

Member Function Documentation

◆ get_Bias()

int32_t Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::get_Bias ( ) const

Gets the time zone's offset in minutes from UTC.

◆ get_DaylightBias()

int32_t Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::get_DaylightBias ( ) const

Gets offset in minutes from lBias during daylight saving time.

◆ get_DaylightDate()

System::SharedPtr<MapiCalendarTimeZoneRule> Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::get_DaylightDate ( ) const

Gets the date and local time that indicate when to begin using the DaylightBias.

◆ get_StandardBias()

int32_t Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::get_StandardBias ( ) const

Gets the offset in minutes from lBias during standard time.

◆ get_StandardDate()

System::SharedPtr<MapiCalendarTimeZoneRule> Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::get_StandardDate ( ) const

Gets the date and local time that indicate when to begin using the StandardBias.

◆ get_TimeZoneFlags()

MapiCalendarTimeZoneFlags Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::get_TimeZoneFlags ( ) const

Gets individual bit flags that specify information about this TimeZoneRule

◆ get_Year()

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

Gets the year in which this rule is scheduled to take effect.

◆ IsDaylightSavingTime()

bool Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::IsDaylightSavingTime ( System::DateTime  dateTime)

Returns a value indicating whether this DateTime is within the daylight saving time range for this time zone.

Parameters
dateTime
Returns
A value indicating whether this DateTime is within the daylight saving time range for this time zone.

◆ ParseTimeZoneRule()

static System::SharedPtr<MapiCalendarTimeZoneInfo> Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::ParseTimeZoneRule ( System::SharedPtr< System::IO::BinaryReader >  reader)
static

Parses the time zone rule information from the time zone rule

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

◆ ParseTimeZoneStruct()

static System::SharedPtr<MapiCalendarTimeZoneInfo> Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::ParseTimeZoneStruct ( System::ArrayPtr< uint8_t >  timeZoneStruct)
static

Parses the time zone rule information from the time zone struct

Parameters
timeZoneStructA byte array representing the time zone struct
Exceptions
ArgumentNullExceptiontimeZoneStruct is null
ArgumentExceptiontimeZoneStruct does not contain enough bytes
Returns
A parsed MapiCalendarTimeZoneInfo

◆ set_Bias()

void Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::set_Bias ( int32_t  value)

Sets the time zone's offset in minutes from UTC.

◆ set_DaylightBias()

void Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::set_DaylightBias ( int32_t  value)

Sets offset in minutes from lBias during daylight saving time.

◆ set_DaylightDate()

void Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::set_DaylightDate ( System::SharedPtr< MapiCalendarTimeZoneRule value)

Sets the date and local time that indicate when to begin using the DaylightBias.

◆ set_StandardBias()

void Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::set_StandardBias ( int32_t  value)

Sets the offset in minutes from lBias during standard time.

◆ set_StandardDate()

void Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::set_StandardDate ( System::SharedPtr< MapiCalendarTimeZoneRule value)

Sets the date and local time that indicate when to begin using the StandardBias.

◆ set_TimeZoneFlags()

void Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::set_TimeZoneFlags ( MapiCalendarTimeZoneFlags  value)

Sets individual bit flags that specify information about this TimeZoneRule

◆ set_Year()

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

Sets the year in which this rule is scheduled to take effect.

◆ ToByteArray()

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

◆ ToTimeZoneComponent()

System::SharedPtr<Aspose::Email::Calendar::Model::Component::TimeZoneComponent> Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::ToTimeZoneComponent ( )

Converts this instance into the corresponding iCalendar TimeZoneComponent

Returns
The converted TimeZoneComponent

◆ ToTimeZoneStructByteArray()

System::ArrayPtr<uint8_t> Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::ToTimeZoneStructByteArray ( )

For TimeZoneStruct serialization

Friends And Related Function Documentation

◆ Aspose::Email::Mapi::MapiCalendar

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

◆ Aspose::Email::Mapi::MapiCalendarTimeZone

◆ Aspose::Email::Mapi::MapiMessage

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