The OpenD Programming Language

Duration.opOpAssign

Multiplies/Divides the duration by an integer value as well as assigning the result to this Duration.

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

Duration*long-->Duration
Duration/long-->Duration
  1. Duration opOpAssign(Duration rhs)
  2. Duration opOpAssign(long value)
    struct Duration
    @safe pure ref nothrow @nogc
    opOpAssign
    (
    string op
    )
    (
    long value
    )
    if (
    op == "*" ||
    op == "/"
    )

Parameters

value long

The value to multiply/divide this Duration by.

Meta