string.tryParse

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

Parses ISO date text.

Remarks

Parsing is strict and ignores leading and trailing whitespace.

Returns

true when parsing succeeds.

Parameters

const char[]
this
overload out Date
value

Receives the parsed date, or default when parsing fails.

Generated with campc 0.12.0-preview.1.