Represents the mapi calendar time zone information More...
Inherits Object.
Public Member Functions | |
System::String | get_KeyName () const |
Gets a human-readable description of the time zone More... | |
void | set_KeyName (System::String value) |
Sets a human-readable description of the time zone More... | |
System::SharedPtr< MapiCalendarTimeZoneInfoCollection > | get_TimeZoneRules () const |
Gets the time zone rules More... | |
void | set_TimeZoneRules (System::SharedPtr< MapiCalendarTimeZoneInfoCollection > value) |
Sets the time zone rules More... | |
MapiCalendarTimeZone () | |
Initializes a new instance of the MapiCalendarTimeZone class. More... | |
MapiCalendarTimeZone (System::SharedPtr< System::TimeZoneInfo > timeZone) | |
Creates a new instance of the MapiCalendarTimeZone class from a Standard Timezone. More... | |
void | ToIcalendar (System::SharedPtr< Aspose::Email::Calendar::Model::CalendarObject > calendarObject) |
Converts the properties of this instance into the corresponding component and properties of iCalendar More... | |
System::ArrayPtr< uint8_t > | ToByteArray () |
System::DateTime | ToTimeZone (System::DateTime value) |
Applies this timezone to the specified datetime More... | |
System::DateTime | FromCurrentTimeZoneToUtc (System::DateTime value) |
Convert value from current time zone to UTC More... | |
Static Public Member Functions | |
static System::SharedPtr< MapiCalendarTimeZone > | ParseTimeZoneStruct (System::ArrayPtr< uint8_t > timeZoneStruct) |
Parses the time zone information from the time zone struct More... | |
static System::SharedPtr< MapiCalendarTimeZone > | ParseApptTimeZoneDefRecur (System::ArrayPtr< uint8_t > apptTimeZoneDefRecur) |
Parses the time zone rule information from the AppointmentTimeZoneDefinitionRecur More... | |
Represents the mapi calendar time zone information
Aspose::Email::Mapi::MapiCalendarTimeZone::MapiCalendarTimeZone | ( | ) |
Initializes a new instance of the MapiCalendarTimeZone class.
Aspose::Email::Mapi::MapiCalendarTimeZone::MapiCalendarTimeZone | ( | System::SharedPtr< System::TimeZoneInfo > | timeZone | ) |
Creates a new instance of the MapiCalendarTimeZone class from a Standard Timezone.
timeZone | Standart TimezoneSystem::TimeZoneInfo. |
System::DateTime Aspose::Email::Mapi::MapiCalendarTimeZone::FromCurrentTimeZoneToUtc | ( | System::DateTime | value | ) |
Convert value from current time zone to UTC
System::String Aspose::Email::Mapi::MapiCalendarTimeZone::get_KeyName | ( | ) | const |
Gets a human-readable description of the time zone
System::SharedPtr<MapiCalendarTimeZoneInfoCollection> Aspose::Email::Mapi::MapiCalendarTimeZone::get_TimeZoneRules | ( | ) | const |
Gets the time zone rules
|
static |
Parses the time zone rule information from the AppointmentTimeZoneDefinitionRecur
apptTimeZoneDefRecur | A byte array containing AppointmentTimeZoneDefinitionRecur |
ArgumentNullException | apptTimeZoneDefRecur is null |
|
static |
Parses the time zone 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::MapiCalendarTimeZone::set_KeyName | ( | System::String | value | ) |
Sets a human-readable description of the time zone
void Aspose::Email::Mapi::MapiCalendarTimeZone::set_TimeZoneRules | ( | System::SharedPtr< MapiCalendarTimeZoneInfoCollection > | value | ) |
Sets the time zone rules
System::ArrayPtr<uint8_t> Aspose::Email::Mapi::MapiCalendarTimeZone::ToByteArray | ( | ) |
void Aspose::Email::Mapi::MapiCalendarTimeZone::ToIcalendar | ( | System::SharedPtr< Aspose::Email::Calendar::Model::CalendarObject > | calendarObject | ) |
Converts the properties of this instance into the corresponding component and properties of iCalendar
calendarObject | A CalendarObject to add properties to |
System::DateTime Aspose::Email::Mapi::MapiCalendarTimeZone::ToTimeZone | ( | System::DateTime | value | ) |
|
friend |
|
friend |
|
friend |
|
friend |