Package M2Crypto :: Module ASN1 :: Class LocalTimezone
[frames] | no frames]

Class LocalTimezone




Localtimezone from datetime manual

Instance Methods
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ 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.
 
tzname(self, dt)
datetime -> string name of time zone.

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

Inherited from object: __delattr__, __hash__, __reduce_ex__, __repr__, __setattr__, __str__

Properties

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ 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)

tzname(self, dt)

 

datetime -> string name of time zone.

Overrides: datetime.tzinfo.tzname
(inherited documentation)