The D Programming Language's Unofficial Docs
beta
Dlang.org
Get Help
Duration.opUnary
core
time
Duration
Returns the negation of this
Duration
.
struct
Duration
@
safe
pure
Duration
opUnary
const nothrow @
nogc
(
string
op
)
(
)
if
(
op
== "-"
)
core
time
Duration
functions
isNegative
opBinary
opBinaryRight
opCast
opCmp
opOpAssign
opUnary
toString
total
static functions
max
min
zero
templates
split
Suggestion Box / Bug Report
Returns the negation of this Duration.