string.tryParse

bool tryParse(const char[] this, overload out UtcOffset value)

Parses UTC offset text.

Remarks

Parsing accepts Z case-insensitively and ignores leading and trailing whitespace.

Returns

true when parsing succeeds.

Parameters

const char[]
this
overload out UtcOffset
value

Receives the parsed offset, or default when parsing fails.

Generated with campc v0.8.0-preview.1+4df4cd2858d46c717d136ff5c571742dc449f642.