toGregorian method

Gregorian toGregorian ()

Converts a Jalali date to Gregorian.

non-null

Implementation

Gregorian toGregorian() {
  return Gregorian.fromJulianDayNumber(julianDayNumber);
}