toGregorian method

Gregorian toGregorian()

convert DateTime to Gregorian

Implementation

Gregorian toGregorian() => Gregorian.fromDateTime(this);