parseClock

Parses a clock string produced by formatClock back into a Duration.

Accepts the "MM:SS" and "HH:MM:SS" shapes with an optional leading minus sign, as described on parseClockOrNull.

Throws

when text is not a valid clock string.