in locales-common/src/main/java/com/spotify/i18n/locales/common/model/SupportedLocale.java [121:128]
public static SupportedLocale fromULocale(final ULocale uLocale) {
Preconditions.checkNotNull(uLocale, "Given input cannot be null");
Preconditions.checkState(
ALL_AVAILABLE_LOCALES.contains(uLocale),
"Given parameter uLocale could not be matched with a locale available in CLDR: %s",
uLocale);
return fromValidatedULocale(uLocale);
}