toGregorian method

Gregorian toGregorian()

Converts a Jalali date to Gregorian.

non-null

Implementation

Gregorian toGregorian() {
  return Gregorian.fromJulianDayNumber(julianDayNumber).copy(
    hour: hour,
    minute: minute,
    second: second,
  );
}