string.tryParse

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

Parses duration text as H:MM:SS with optional milliseconds.

Returns

true when parsing succeeds.

Parameters

const char[]
this
overload out TimeSpan
value

Receives the parsed duration, or default when parsing fails.

Generated with campc 0.12.0-preview.1.