Duration.opCmp

int opCmp(Duration rhs) const nothrow @nogc

Compares this Duration with the given Duration.

Returns

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