string.tryParse

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

Parses ISO instant text.

Remarks

Parsing accepts offset date-time text and converts it to an instant.

Returns

true when parsing succeeds.

Parameters

const char[]
this
overload out Instant
value

Receives the parsed instant, or default when parsing fails.

Generated with campc 0.12.0-preview.1.