toGregorian method

Gregorian toGregorian()

Converts a Jalali date to Gregorian.

Implementation

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