Package psycopg2 :: Module tz |
[hide private]
[frames] | no frames]

# Module tz

source code

tzinfo implementations for psycopg2

This module holds two different tzinfo implementations that can be used as the 'tzinfo' argument to datetime constructors, directly passed to psycopg functions or used to set the .tzinfo_factory attribute in cursors.

Classes | [hide private]
| FixedOffsetTimezone Fixed offset in minutes east from UTC.
| LocalTimezone Platform idea of local timezone.

Variables | [hide private]
| DSTDIFF = `datetime.timedelta(0, 3600)`
| DSTOFFSET = `datetime.timedelta(0, 3600)`
| LOCAL = `<psycopg2.tz.LocalTimezone object at 0xd4e690>`
| STDOFFSET = `datetime.timedelta(0)`
| ZERO = `datetime.timedelta(0)`