The OpenD Programming Language

Date.opBinary

Gives the difference between two Dates.

The legal types of arithmetic for Date using this operator are

Date-Date-->duration
  1. Date opBinary(Duration duration)
  2. Duration opBinary(Date rhs)
    struct Date
    const @safe pure nothrow @nogc
    opBinary
    (
    string op
    )
    if (
    op == "-"
    )

Meta