TimeOfDay.opBinary

Gives the difference between two TimeOfDays.

The legal types of arithmetic for TimeOfDay using this operator are

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

Parameters

rhs TimeOfDay

The TimeOfDay to subtract from this one.

Meta