See datetime.tzinfo.utcoffset is_dst is ignored for StaticTzInfo, and exists only to retain compatibility with DstTzInfo.
(self, dt, is_dst=None)
| 86 | return (dt + self._utcoffset).replace(tzinfo=self) |
| 87 | |
| 88 | def utcoffset(self, dt, is_dst=None): |
| 89 | '''See datetime.tzinfo.utcoffset |
| 90 | |
| 91 | is_dst is ignored for StaticTzInfo, and exists only to |
| 92 | retain compatibility with DstTzInfo. |
| 93 | ''' |
| 94 | return self._utcoffset |
| 95 | |
| 96 | def dst(self, dt, is_dst=None): |
| 97 | '''See datetime.tzinfo.dst |
nothing calls this directly
no outgoing calls
no test coverage detected