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 v0.8.0-preview.1+4df4cd2858d46c717d136ff5c571742dc449f642.