The OpenD Programming Language

Duration.opBinary

Divides two durations.

The legal types of arithmetic for Duration using this operator are

Duration/Duration-->long
  1. Duration opBinary(Duration rhs)
  2. Duration opBinary(long value)
  3. long opBinary(Duration rhs)
    struct Duration
    @safe pure const nothrow @nogc
    long
    opBinary
    (
    string op
    )
    if (
    op == "/"
    )

Parameters

rhs Duration

The duration to divide this Duration by.

Meta