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
    Duration
    opBinary
    (
    string op
    )
    if (
    op == "-"
    )

Meta