SysTime.opOpAssign

Gives the result of adding or subtracting a core.time.Duration from this SysTime, as well as assigning the result to this SysTime.

The legal types of arithmetic for SysTime using this operator are

SysTime+Duration-->SysTime
SysTime-Duration-->SysTime
struct SysTime
ref @safe pure nothrow scope
opOpAssign
(
string op
)
(
Duration duration
)
if (
op == "+" ||
op == "-"
)

Parameters

duration Duration

The core.time.Duration to add to or subtract from this SysTime.

Meta