addDays method

  1. @override
Jalali addDays(
  1. int days
)
override

add days to this date this Method is safe

throws on null argument

non-null

Implementation

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

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