if (buildinLocales.contains(locale)) {
return new DecimalFormatSymbols(locale);
}
DecimalFormatSymbolsProvider provider = (DecimalFormatSymbolsProvider) LocaleServiceProviderLoader
.getProviderByLocale(providersCache, locale,
PROVIDER_CONFIGURATION_FILE_NAME);
if (provider != null) {
return provider.getInstance(locale);
}
// return DecimalFormatSymbols using default locale
return new DecimalFormatSymbols();
}