Noda Time
FromTimeZoneInfo Method (bclZone)
NamespacesNodaTime.TimeZonesBclDateTimeZoneFromTimeZoneInfo(TimeZoneInfo)

[This is preliminary documentation and is subject to change.]

Creates a new BclDateTimeZone from a TimeZoneInfo from the Base Class Library.
Declaration Syntax
C#Visual BasicVisual C++
public static BclDateTimeZone FromTimeZoneInfo(
	TimeZoneInfo bclZone
)
Public Shared Function FromTimeZoneInfo ( _
	bclZone As TimeZoneInfo _
) As BclDateTimeZone
public:
static BclDateTimeZone^ FromTimeZoneInfo(
	TimeZoneInfo^ bclZone
)
Parameters
bclZone (TimeZoneInfo)
The original time zone to take information from.
Return Value
A BclDateTimeZone wrapping the given TimeZoneInfo.
Exceptions
ExceptionCondition
ArgumentNullExceptionbclZone is null.

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