goja-core/src/main/java/goja/core/kits/lang/LocaleKit.java
public static Locale getLocale(String language, String country, String variant) {
        LocaleData localeData = lookupLocaleData(resolveLocaleCode(language, country, variant));
        return localeData.locale;
    }
public static Locale getLocale(String language, String country, String variant) {
        LocaleData localeData = lookupLocaleData(resolveLocaleCode(language, country, variant));
        return localeData.locale;
    }
Returns Locale from cache.