Class representing a time zone.
The representation is simply the offset, in seconds, from UTC
.
Constructor for a named time zone. |
|
Return the offset of this time zone from |
|
Create a time zone with the given offset in seconds. |
wx.DateTime.
TimeZone
(object)¶Possible constructors:
TimeZone(tz)
TimeZone(offset=0)
Class representing a time zone.
__init__
(self, *args, **kw)¶__init__ (self, tz)
Constructor for a named time zone.
tz (DateTime.TZ) –
__init__ (self, offset=0)
Constructor for the given offset in seconds.
offset (long) –
GetOffset
(self)¶Return the offset of this time zone from UTC
, in seconds.
long
Make
(offset)¶Create a time zone with the given offset in seconds.
offset (long) –