Duration.opBinaryRight

Multiplies an integral value and a Duration.

The legal types of arithmetic for Duration using this operator overload are

long*Duration-->Duration
  1. Duration opBinaryRight(D lhs)
  2. Duration opBinaryRight(long value)
    struct Duration
    @safe pure const nothrow @nogc
    opBinaryRight
    (
    string op
    )
    (
    long value
    )
    if (
    op == "*"
    )

Parameters

value long

The number of units to multiply this Duration by.

Meta