Gregorian.fromJalali constructor

Gregorian.fromJalali(
  1. Jalali date
)

Create a Gregorian date from Jalali date

Implementation

factory Gregorian.fromJalali(Jalali date) {
  return Gregorian.fromJulianDayNumber(date.julianDayNumber);
}