code: public static ZoneId getTimeZoneId(final TimeZone tz) {
          return ZoneId.of(tz.getID(), ZoneId.SHORT_IDS);
      }
docs: Get time zone id .ZoneId.SHORT_IDS used get id if time zone is
  abbreviated like 'IST'.
  
  @param tz
  @return ZoneId