addDays method

PersianDate addDays(
  1. int days
)

Returns the date days days later; negative values go back.

The result is date-only, so the time of day is dropped. Throws ArgumentError when the result is outside the supported range.

Implementation

PersianDate addDays(int days) =>
    PersianDate._fromJulianDay(_julianDay + days);