[This is preliminary documentation and is subject to change.]
Creates a new BclDateTimeZone from a TimeZoneInfo from the Base Class Library.

C# | Visual Basic | Visual C++ |
public static BclDateTimeZone FromTimeZoneInfo( TimeZoneInfo bclZone )
Public Shared Function FromTimeZoneInfo ( _ bclZone As TimeZoneInfo _ ) As BclDateTimeZone
public: static BclDateTimeZone^ FromTimeZoneInfo( TimeZoneInfo^ bclZone )

- bclZone (TimeZoneInfo)
- The original time zone to take information from.

A BclDateTimeZone wrapping the given TimeZoneInfo.

Exception | Condition |
---|---|
ArgumentNullException | bclZone is null. |
Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)