Noda Time
ForId Method (id)
NamespacesNodaTime.TimeZonesBclDateTimeZoneSourceForId(String)

[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.
Declaration Syntax
C#Visual BasicVisual C++
public BclDateTimeZone ForId(
	string id
)
Public Function ForId ( _
	id As String _
) As BclDateTimeZone
public:
BclDateTimeZone^ ForId(
	String^ id
)
Parameters
id (String)
The ID of the system time zone to convert
Return Value
The Noda Time representation of the given BCL time zone
Exceptions
ExceptionCondition
ArgumentExceptionThe given zone doesn't exist.

Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)