formatDuration

private fnstring formatDuration(Duration d) pure @safe

Format a Duration as SDL timespan literal.

Parameters

dThe duration

Returns

The formatted literal, including a day prefix and sub-second

part when non-zero.