Return formatted timezone offset (+xx:xx) or an empty string.
(self)
| 1488 | # Conversion to string |
| 1489 | |
| 1490 | def _tzstr(self): |
| 1491 | """Return formatted timezone offset (+xx:xx) or an empty string.""" |
| 1492 | off = self.utcoffset() |
| 1493 | return _format_offset(off) |
| 1494 | |
| 1495 | def __repr__(self): |
| 1496 | """Convert to formal string, for repr().""" |
no test coverage detected