parseTimeZone

The parseTimeZone method parses the supplied string as a time zone.

Syntax

Parameters

ParameterTypeDescription
sstring

The string to be converted.

Returns

A ZoneId.

Examples