public static VersionInfo getCLDRVersion ( ) { // fetching this data should be idempotent. if ( gCLDRVersion == null ) { // from ZoneMeta.java UResourceBundle supplementalDataBundle = UResourceBundle . getBundleInstance ( ICUData . ICU_BASE_NAME , "supplementalData" , ICUResourceBundle . ICU_DATA_CLASS_LOADER ) ; UResourceBundle cldrVersionBundle = supplementalDataBundle . get ( "cldrVersion" ) ; gCLDRVersion = VersionInfo . getInstance ( cldrVersionBundle . getString ( ) ) ; } return gCLDRVersion ; }
Returns the current CLDR version