Package flumotion :: Package common :: Module tz :: Class FixedOffsetTimezone
[hide private]

type FixedOffsetTimezone

source code

     object --+    
              |    
datetime.tzinfo --+
                  |
                 FixedOffsetTimezone

Fixed offset in hours from UTC.

Instance Methods [hide private]
 
__init__(self, offset, name) source code
 
utcoffset(self, dt)
datetime -> minutes east of UTC (negative for west of UTC).
source code
 
tzname(self, dt)
datetime -> string name of time zone.
source code
 
dst(self, dt)
datetime -> DST offset in minutes east of UTC.
source code
 
copy(self) source code

Inherited from datetime.tzinfo: __getattribute__, __new__, __reduce__, fromutc

Method Details [hide private]

__init__(self, offset, name)
(Constructor)

source code 
Overrides: object.__init__
(inherited documentation)

utcoffset(self, dt)

source code 

datetime -> minutes east of UTC (negative for west of UTC).

Overrides: datetime.tzinfo.utcoffset
(inherited documentation)

tzname(self, dt)

source code 

datetime -> string name of time zone.

Overrides: datetime.tzinfo.tzname
(inherited documentation)

dst(self, dt)

source code 

datetime -> DST offset in minutes east of UTC.

Overrides: datetime.tzinfo.dst
(inherited documentation)