minus

operator fun minus(other: Duration): Duration

Returns a Duration whose value is the difference between this and other duration values.

Throws

if the operation results is negative value.