code: private static DateTimeZone getTimeZone(String id) {
      DateTimeZone zone;
      try {
        zone = DateTimeZone.forID(id);
      } catch (IllegalArgumentException e) {
        throw new IllegalArgumentException("TimeZone " + id + " not recognized");
      }
      return zone;
    }
docs: Get time zone of time zone id
  @param id timezone id
  @return timezone