Module datetime :: Class tzinfo
[hide private]
[frames] | no frames]

type tzinfo

object --+
         |
        tzinfo

Abstract base class for time zone info objects.

Instance Methods [hide private]
 
__getattribute__(...)
x.__getattribute__('name') <==> x.name
a new object with type S, a subtype of T
__new__(T, S, ...)
 
__reduce__(...)
-> (cls, state)
 
dst(...)
datetime -> DST offset in minutes east of UTC.
 
fromutc(...)
datetime in UTC -> datetime in local time.
 
tzname(...)
datetime -> string name of time zone.
 
utcoffset(...)
datetime -> minutes east of UTC (negative for west of UTC).
Method Details [hide private]

__getattribute__(...)

 

x.__getattribute__('name') <==> x.name

Overrides: object.__getattribute__

__new__(T, S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__

__reduce__(...)

 

-> (cls, state)

Overrides: object.__reduce__