TimeOfDay.opBinary
TimeOfDay opBinary(string op)(Duration duration) if (op == "+" || op == "-") const @safe pure nothrow @nogcGives the result of adding or subtracting a Duration from this TimeOfDay.
The legal types of arithmetic for TimeOfDay using this operator are
| TimeOfDay | + | Duration | --> | TimeOfDay |
| TimeOfDay | - | Duration | --> | TimeOfDay |
| Duration | + | TimeOfDay | --> | TimeOfDay |
Parameters
duration | The Duration to add to or subtract from this TimeOfDay. |