goja-core/src/main/java/goja/core/kits/lang/LocaleKit.java
public static Locale getLocale(String languageCode) {
        LocaleData localeData = lookupLocaleData(languageCode);
        return localeData.locale;
    }
public static Locale getLocale(String languageCode) {
        LocaleData localeData = lookupLocaleData(languageCode);
        return localeData.locale;
    }
Returns Locale from cache where Locale may be specified also using language code.
Converts a locale string like "en", "en_US" or "en_US_win" to <b>new</b> Java locale object.