TimeZone
index
TimeZone.py

Provide a couple of datetime.tzinfo() objects representing local
time and UTC.
 
Copied directly from the datetime module documentation.

 
Modules
       
time

 
Classes
       
datetime.tzinfo(__builtin__.object)
LocalTimezone
UTC

 
class LocalTimezone(datetime.tzinfo)
    Local time
 
 
Method resolution order:
LocalTimezone
datetime.tzinfo
__builtin__.object

Methods defined here:
dst(self, dt)
tzname(self, dt)
utcoffset(self, dt)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from datetime.tzinfo:
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__reduce__(...)
-> (cls, state)
fromutc(...)
datetime in UTC -> datetime in local time.

Data and other attributes inherited from datetime.tzinfo:
__new__ = <built-in method __new__ of type object at 0x404de2b4>
T.__new__(S, ...) -> a new object with type S, a subtype of T

 
class UTC(datetime.tzinfo)
    UTC
 
 
Method resolution order:
UTC
datetime.tzinfo
__builtin__.object

Methods defined here:
dst(self, dt)
tzname(self, dt)
utcoffset(self, dt)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from datetime.tzinfo:
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__reduce__(...)
-> (cls, state)
fromutc(...)
datetime in UTC -> datetime in local time.

Data and other attributes inherited from datetime.tzinfo:
__new__ = <built-in method __new__ of type object at 0x404de2b4>
T.__new__(S, ...) -> a new object with type S, a subtype of T

 
Data
        DSTDIFF = datetime.timedelta(0, 3600)
DSTOFFSET = datetime.timedelta(0, 10800)
HOUR = datetime.timedelta(0, 3600)
Local = <TimeZone.LocalTimezone object at 0x4073c070>
STDOFFSET = datetime.timedelta(0, 7200)
ZERO = datetime.timedelta(0)
utc = <TimeZone.UTC object at 0x4072ffb0>