Duration.opBinary

Divides two durations.

The legal types of arithmetic for Duration using this operator are

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

Parameters

rhs
Type: Duration

The duration to divide this Duration by.

Suggestion Box / Bug Report