format
Formats this Duration as d:HH:MM:SS (or d:HH:MM:SS.mmm when includeMillis is true).
Negative durations are prefixed with -.
Extension function on Duration.
Return
the formatted duration string
Parameters
includeMillis
whether to include milliseconds in the output (default false)