Duration.opCmp

int opCmp(Duration rhs) @safe pure const nothrow @nogc

Compares this Duration with the given Duration.

Returns

this < rhs < 0
this == rhs 0
this > rhs > 0