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
    opBinaryRight
    const nothrow @nogc
    (
    string op
    )
    (
    long value
    )
    if (
    op == "*"
    )

Parameters

value
Type: long

The number of units to multiply this Duration by.

Suggestion Box / Bug Report