The D Programming Language's Unofficial Docs
beta
Dlang.org
Get Help
Duration.opCmp
core
time
Duration
Compares this
Duration
with the given
Duration
.
struct
Duration
@
safe
pure
int
opCmp
const nothrow @
nogc
(
Duration
rhs
)
Return Value
Type:
int
this < rhs
< 0
this == rhs
0
this > rhs
> 0
core
time
Duration
functions
isNegative
opBinary
opBinaryRight
opCast
opCmp
opOpAssign
opUnary
toString
total
static functions
max
min
zero
templates
split
Suggestion Box / Bug Report
Compares this Duration with the given Duration.