parseTimeSpan
Parse an SDL timespan literal to core.time.Duration.
Format: (d:)hh:mm:ss(.xxx); fractional seconds keep millisecond resolution; a leading '-' negates the whole duration.
Parameters
raw | The literal text |
Returns
The parsed duration.
Throws
Exception on malformed input.