'Convert to formal string, for repr().
>>> tz = timezone.utc
>>> repr(tz)
\'datetime.timezone.utc\'
>>> tz = timezone(timedelta(hours=-5), \'EST\')
>>> repr(tz)
"datetime.timezone(datetime.timedelta(-1, 68400), \'EST\')"'

def __repr__(self):

    if (self is self.utc):
        return 'datetime.timezone.utc'
    if (self._name is None):
        return ('%s(%r)' % (('datetime.' + self.__class__.__name__), self._offset))
    return ('%s(%r,    %r)' % (('datetime.' + self.__class__.__name__), self._offset, self._name))
