[This is preliminary documentation and is subject to change.]
Creates a new instance of BclDateTimeZone from the TimeZoneInfo with the given
ID. The ID must be a known system time zone ID.
| C# | Visual Basic | Visual C++ |
public BclDateTimeZone ForId( string id )
Public Function ForId ( _ id As String _ ) As BclDateTimeZone
public: BclDateTimeZone^ ForId( String^ id )
- id (String)
- The ID of the system time zone to convert
The Noda Time representation of the given BCL time zone
| Exception | Condition |
|---|---|
| ArgumentException | The given zone doesn't exist. |
Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)