parseTimeZoneQuiet
The parseTimeZoneQuiet method parses the supplied string as a time zone.
"Quiet" methods return null instead of throwing an exception when encountering a string that cannot be parsed.
Syntax
Parameters
| Parameter | Type | Description |
|---|---|---|
| s | string | The string to be converted. |
Returns
A ZoneId, or null if invalid input is given.