addDaysToDate function

Jalali addDaysToDate(
  1. Jalali date,
  2. int days
)

Returns a Jalali with the added number of days and no time set.

Implementation

Jalali addDaysToDate(Jalali date, int days) {
  return Jalali(date.year, date.month, date.day + days);
}