TimeZoneIDParse Method

Parses a String as TimeZoneID object.

Definition

Namespace: FolkerKinzel.VCards.Models
Assembly: FolkerKinzel.VCards (in FolkerKinzel.VCards.dll) Version: 8.0.1+a91cc3f0fd39aeb548e16006a60ca9dd10a304a2
C#
public static TimeZoneID Parse(
	string value
)

Parameters

value  String
Identifier of the time zone. It should be an identifier from the "IANA Time Zone Database". (See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones .)

Return Value

TimeZoneID
The parsed TimeZoneID.

Exceptions

ArgumentNullExceptionvalue is null.
ArgumentExceptionvalue is an empty String or consists only of white space characters.

See Also