TzInfoTimeZoneRuleParserParse Method

Parses a line of text to return the TimeZoneRule that the line represents.

Definition

Namespace: InnerDrive.TimeZones
Assembly: InnerDrive.TimeZones (in InnerDrive.TimeZones.dll) Version: 5.2.9017.0
C#
public override TimeZoneRule? Parse(
	string ruleText
)

Parameters

ruleText  String
The raw text from the source of timezone information.

Return Value

NullableTimeZoneRule
The TimeZoneRule described by ruleText.

Exceptions

ArgumentExceptionruleText does not contain a string that can be parsed into a TimeZoneRule.

See Also