code: def SetTimeZone(self, time_zone):
      
      try:
        self._time_zone = pytz.timezone(time_zone)
      except (AttributeError, pytz.UnknownTimeZoneError):
        raise ValueError('Unsupported timezone: {0!s}'.format(time_zone))
docs: Sets the time zone.
  
      Args:
        time_zone (str): time zone.
  
      Raises:
        ValueError: if the timezone is not supported.