code: def todate(self):
          
          arr = get_gregorian_date_from_julian_day(self.tojulianday())
          return datetime.date(int(arr[0]), int(arr[1]), int(arr[2]))
docs: Calculates the corresponding day in the gregorian calendar. this is the main use case of this library.
  
          :return: Corresponding date in gregorian calendar.
          :rtype: :py:class:`datetime.date`