__init__(self,
hours=None,
minutes=None)
(Constructor)
|
|
Create a time zone with given offset in hours and minutes.
The offset given by minutes is added to that given by
hours , e.g. hours=2 and minutes=30
means two and a half hours offset. If minutes is given but
hours is not, hours is considered zero. If
neither hours nor minutes are given, the offset
is read from system time zone.
- Parameters:
hours (int) - the time zone offset in hours
minutes (int) - additional offset in minutes
- Overrides:
object.__init__
|