operator + method

Weekday operator +(
  1. int days
)

Returns the Weekday that corresponds to this added days. Eg.:

Implementation

Weekday operator +(int days) =>
    Weekday.fromDateTimeValue((dateTimeValue - 1 + days) % values.length + 1);