gbp :: git :: FixedOffset :: Class FixedOffset
[hide private]
[frames] | no frames]

Class FixedOffset

     object --+    
              |    
datetime.tzinfo --+
                  |
                 FixedOffset

Fixed offset in seconds east from UTC.

Instance Methods [hide private]
 
__init__(self, offset)
x.__init__(...) initializes x; see help(type(x)) for signature
 
utcoffset(self, dtime)
datetime -> minutes east of UTC (negative for west of UTC).
 
dst(self, dtime)
datetime -> DST offset in minutes east of UTC.

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

Inherited from object: __delattr__, __format__, __hash__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  ZERO = datetime.timedelta(0)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, offset)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

utcoffset(self, dtime)

 

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

Overrides: datetime.tzinfo.utcoffset
(inherited documentation)

dst(self, dtime)

 

datetime -> DST offset in minutes east of UTC.

Overrides: datetime.tzinfo.dst
(inherited documentation)