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