public static NTimeZone CreateCustom( System.string id, System.TimeSpan baseUtcOffset, System.string displayName, System.string standardDisplayName, System.string daylightDisplayName, NAdjustmentRule[] adjustmentRules, System.bool disableDaylightSavingTime )
Parameters
- id
- The time zone's identifier.
- baseUtcOffset
- A System.TimeSpan object that represents the time difference between this time zone and Coordinated Universal Time (UTC).
- displayName
- The display name of the new time zone.
- standardDisplayName
- The standard time name of the new time zone.
- daylightDisplayName
- The daylight saving time name of the new time zone.
- adjustmentRules
- An array of NTimeZoneInfo.AdjustmentRule objects that augment the base UTC offset for a particular period.
- disableDaylightSavingTime
- true to discard any daylight saving time-related information present in adjustmentRules with the new object; otherwise, false.
Return Value
The new time zone. If the disableDaylightSavingTime parameter is true, the returned object has no daylight saving time data.