Package gbp :: Package git :: Module modifier :: Class GitTz
[hide private]
[frames] | no frames]

Class GitTz

     object --+    
              |    
datetime.tzinfo --+
                  |
                 GitTz

Simple class to store the utc offset only

Instance Methods [hide private]
 
__init__(self, offset_sec=0, *args, **kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature
 
utcoffset(self, dt)
datetime -> minutes east of UTC (negative for west of UTC).
 
dst(self, dt)
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__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, offset_sec=0, *args, **kwargs)
(Constructor)

 

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

Overrides: object.__init__
(inherited documentation)

utcoffset(self, dt)

 

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

Overrides: datetime.tzinfo.utcoffset
(inherited documentation)

dst(self, dt)

 

datetime -> DST offset in minutes east of UTC.

Overrides: datetime.tzinfo.dst
(inherited documentation)