Noda Time
WithZoneProvider Method (newZoneProvider)
NamespacesNodaTime.TextZonedDateTimePatternWithZoneProvider(IDateTimeZoneProvider)

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

Creates a pattern for the same original pattern text as this pattern, but with the specified time zone provider.
Declaration Syntax
C#Visual BasicVisual C++
public ZonedDateTimePattern WithZoneProvider(
	IDateTimeZoneProvider newZoneProvider
)
Public Function WithZoneProvider ( _
	newZoneProvider As IDateTimeZoneProvider _
) As ZonedDateTimePattern
public:
ZonedDateTimePattern^ WithZoneProvider(
	IDateTimeZoneProvider^ newZoneProvider
)
Parameters
newZoneProvider (IDateTimeZoneProvider)
The new time zone provider to use.
Return Value
A new pattern with the given time zone provider.

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