pytz.reference (version 540)
index
/astro-wise/AWEHOME/x86_64/AWBASE/common/lib/python2.5/site-packages/pytz/reference.py

$Id: reference.py 540 2004-09-24 15:24:50Z jdh2358 $
 
Reference tzinfo implementations from the Python docs.
Used for testing against.

 
Modules
       
time

 
Classes
       
datetime.tzinfo(__builtin__.object)
FixedOffset
LocalTimezone
USTimeZone
UTC

 
class FixedOffset(datetime.tzinfo)
    Fixed offset in minutes east from UTC.
 
 
Method resolution order:
FixedOffset
datetime.tzinfo
__builtin__.object

Methods defined here:
__init__(self, offset, name)
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 0x2aaab029cea0>
T.__new__(S, ...) -> a new object with type S, a subtype of T

 
class LocalTimezone(datetime.tzinfo)
    
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 0x2aaab029cea0>
T.__new__(S, ...) -> a new object with type S, a subtype of T

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

Methods defined here:
__init__(self, hours, reprname, stdname, dstname)
__repr__(self)
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 0x2aaab029cea0>
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 0x2aaab029cea0>
T.__new__(S, ...) -> a new object with type S, a subtype of T

 
Functions
       
first_sunday_on_or_after(dt)

 
Data
        Central = Central
DSTDIFF = datetime.timedelta(0, 3600)
DSTEND = datetime.datetime(1, 10, 25, 1, 0)
DSTOFFSET = datetime.timedelta(0, 7200)
DSTSTART = datetime.datetime(1, 4, 1, 2, 0)
Eastern = Eastern
HOUR = datetime.timedelta(0, 3600)
Local = <pytz.reference.LocalTimezone object at 0xaa7290>
Mountain = Mountain
Pacific = Pacific
STDOFFSET = datetime.timedelta(0, 3600)
ZERO = datetime.timedelta(0)
__rcs_id__ = '$Id: reference.py 540 2004-09-24 15:24:50Z jdh2358 $'
__version__ = '540'
utc = <pytz.reference.UTC object at 0xaa71d0>