System::TimeZoneInfo::CreateCustomTimeZone method
Contents
[
Hide
]TimeZoneInfo::CreateCustomTimeZone(const String&, TimeSpan, const String&, const String&) method
Creates a custom time zone.
static TimeZoneInfoPtr System::TimeZoneInfo::CreateCustomTimeZone(const String &id, TimeSpan base_utc_offset, const String &display_name, const String &standard_display_name)
Parameter | Type | Description |
---|---|---|
id | const String& | Time zone identifier. |
base_utc_offset | TimeSpan | Time interval between the current time zone’s standard time and UTC time. |
display_name | const String& | Display name. |
standard_display_name | const String& | Standard time name. |
ReturnValue
New time zone.
See Also
- Typedef TimeZoneInfoPtr
- Class String
- Class TimeSpan
- Class TimeZoneInfo
- Namespace System
- Library Aspose.PDF for C++
TimeZoneInfo::CreateCustomTimeZone(const String&, TimeSpan, const String&, const String&, const String&, const ArrayPtr<AdjustmentRulePtr>&) method
Creates a custom time zone.
static TimeZoneInfoPtr System::TimeZoneInfo::CreateCustomTimeZone(const String &id, TimeSpan base_utc_offset, const String &display_name, const String &standard_display_name, const String &daylight_display_name, const ArrayPtr<AdjustmentRulePtr> &adjustment_rules)
Parameter | Type | Description |
---|---|---|
id | const String& | Time zone identifier. |
base_utc_offset | TimeSpan | Time interval between the current time zone’s standard time and UTC time. |
display_name | const String& | Display name. |
standard_display_name | const String& | Standard time name. |
daylight_display_name | const String& | Daylight saving time name. |
adjustment_rules | const ArrayPtr<AdjustmentRulePtr>& | Array of adjustment rules. |
ReturnValue
New time zone.
See Also
- Typedef TimeZoneInfoPtr
- Class String
- Class TimeSpan
- Typedef ArrayPtr
- Typedef AdjustmentRulePtr
- Class TimeZoneInfo
- Namespace System
- Library Aspose.PDF for C++
TimeZoneInfo::CreateCustomTimeZone(const String&, TimeSpan, const String&, const String&, const String&, const ArrayPtr<AdjustmentRulePtr>&, bool) method
Creates a custom time zone.
static TimeZoneInfoPtr System::TimeZoneInfo::CreateCustomTimeZone(const String &id, TimeSpan base_utc_offset, const String &display_name, const String &standard_display_name, const String &daylight_display_name, const ArrayPtr<AdjustmentRulePtr> &adjustment_rules, bool disable_daylight_saving_time)
Parameter | Type | Description |
---|---|---|
id | const String& | Time zone identifier. |
base_utc_offset | TimeSpan | Time interval between the current time zone’s standard time and UTC time. |
display_name | const String& | Display name. |
standard_display_name | const String& | Standard time name. |
daylight_display_name | const String& | Daylight saving time name. |
adjustment_rules | const ArrayPtr<AdjustmentRulePtr>& | Array of adjustment rules. |
disable_daylight_saving_time | bool | True to discard any daylight saving time information present in adjustment_rules. |
ReturnValue
New time zone.
See Also
- Typedef TimeZoneInfoPtr
- Class String
- Class TimeSpan
- Typedef ArrayPtr
- Typedef AdjustmentRulePtr
- Class TimeZoneInfo
- Namespace System
- Library Aspose.PDF for C++