code: public static VersionInfo getDataVersion() {
          UResourceBundle icudatares = null;
          try {
              icudatares = UResourceBundle.getBundleInstance(
                      ICUData.ICU_BASE_NAME,
                      ICUDataVersion.U_ICU_VERSION_BUNDLE,
                      ICUResourceBundle.ICU_DATA_CLASS_LOADER);
              icudatares = icudatares.get(ICUDataVersion.U_ICU_DATA_KEY);
          } catch (MissingResourceException ex) {
              return null;
          }
          
          return  VersionInfo.getInstance(icudatares.getString());
      }
docs: This function retrieves the data version from icuver and returns a VersionInfo object with that version information.
  
  @return Current icu data version