/** * Gets the LCID as a string, for a given locale id. * @param locId the localie id to lookup. * @return the LCID found, as a string. */ public static String getLCID_asString (LocaleId locId) { return Util.intToStr(getLCID(locId)); }
/** * Gets an LCID for a given language tag. * @param tag the language tag to lookup. * @return the LCID value found. */ public static int getLCID (String tag) { return getLCID(LocaleId.fromString(tag)); }