addDays method

Jalali addDays (
  1. int days
)

add days to this date this Method is safe

throws on null argument

non-null

Implementation

Jalali addDays(int days) {
  ArgumentError.checkNotNull(days, 'days');

  if (days == 0) {
    return this;
  } else {
    return Jalali.fromJulianDayNumber(julianDayNumber + days);
  }
}