PersianDate constructor

const PersianDate(
  1. int year,
  2. int month,
  3. int day
)

Creates a PersianDate from the Persian year, month and day.

Example: PersianDate(1400, 12, 29);

Implementation

const PersianDate(
  this.year,
  this.month,
  this.day,
);