def __init__(self, offset):
    super(TimeZoneOffset, self).__init__()
    if isinstance(offset, datetime.timedelta):
      offset = offset.total_seconds()
    self.__offset = offset
Initialize a time zone offset.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/protorpc/protorpc/util.py/TimeZoneOffset.__init__