Timezone implementation that allows offsets specified in seconds. More...
Public Member Functions | |
| def | __init__ (self, offset=None, args, kwargs) |
| Accepts offset in seconds. | |
| def | set_offset (self, offset) |
| Simple setter for offset. | |
| def | utcoffset (self, dt) |
| Returns the offset from UTC. | |
| def | dst (self, _dt) |
| We almost certainly can't know about DST, so we say it's always off. | |
| def | tzname (self, _dt) |
| Return a useful timezone name. | |
Public Attributes | |
| offset | |
Timezone implementation that allows offsets specified in seconds.