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< MapiCalendarTimeZoneRule > | get_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< MapiCalendarTimeZoneRule > | get_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< MapiCalendarTimeZoneInfo > | ParseTimeZoneStruct (System::ArrayPtr< uint8_t > timeZoneStruct) |
Parses the time zone rule information from the time zone struct More... | |
static System::SharedPtr< MapiCalendarTimeZoneInfo > | ParseTimeZoneRule (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 |
Represents the mapi calendar time zone rule
Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::MapiCalendarTimeZoneInfo | ( | ) |
Initializes a new instance of the MapiCalendarTimeZoneInfo class.
Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::MapiCalendarTimeZoneInfo | ( | System::SharedPtr< System::TimeZoneInfo::AdjustmentRule > | rule | ) |
int32_t Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::get_Bias | ( | ) | const |
Gets the time zone's offset in minutes from UTC.
int32_t Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::get_DaylightBias | ( | ) | const |
Gets offset in minutes from lBias during daylight saving time.
System::SharedPtr<MapiCalendarTimeZoneRule> Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::get_DaylightDate | ( | ) | const |
Gets the date and local time that indicate when to begin using the DaylightBias.
int32_t Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::get_StandardBias | ( | ) | const |
Gets the offset in minutes from lBias during standard time.
System::SharedPtr<MapiCalendarTimeZoneRule> Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::get_StandardDate | ( | ) | const |
Gets the date and local time that indicate when to begin using the StandardBias.
MapiCalendarTimeZoneFlags Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::get_TimeZoneFlags | ( | ) | const |
Gets individual bit flags that specify information about this TimeZoneRule
uint16_t Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::get_Year | ( | ) | const |
Gets the year in which this rule is scheduled to take effect.
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.
dateTime |
|
static |
Parses the time zone rule information from the time zone rule
reader | A BinaryReader to read from |
ArgumentNullException | reader is null |
ArgumentException | reader does not contain enough bytes |
|
static |
Parses the time zone rule information from the time zone struct
timeZoneStruct | A byte array representing the time zone struct |
ArgumentNullException | timeZoneStruct is null |
ArgumentException | timeZoneStruct does not contain enough bytes |
void Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::set_Bias | ( | int32_t | value | ) |
Sets the time zone's offset in minutes from UTC.
void Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::set_DaylightBias | ( | int32_t | value | ) |
Sets offset in minutes from lBias during daylight saving time.
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.
void Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::set_StandardBias | ( | int32_t | value | ) |
Sets the offset in minutes from lBias during standard time.
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.
void Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::set_TimeZoneFlags | ( | MapiCalendarTimeZoneFlags | value | ) |
Sets individual bit flags that specify information about this TimeZoneRule
void Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::set_Year | ( | uint16_t | value | ) |
Sets the year in which this rule is scheduled to take effect.
System::ArrayPtr<uint8_t> Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::ToByteArray | ( | ) |
System::SharedPtr<Aspose::Email::Calendar::Model::Component::TimeZoneComponent> Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::ToTimeZoneComponent | ( | ) |
Converts this instance into the corresponding iCalendar TimeZoneComponent
System::ArrayPtr<uint8_t> Aspose::Email::Mapi::MapiCalendarTimeZoneInfo::ToTimeZoneStructByteArray | ( | ) |
For TimeZoneStruct serialization
|
friend |
|
friend |
|
friend |