Lines Matching refs:locale
118 * The locale 'en_US' will always be present.
131 * {@link java.util.Locale.Category#FORMAT FORMAT} locale.
133 * This method provides access to locale sensitive decimal style symbols.
147 * Obtains the DecimalStyle for the specified locale.
149 * This method provides access to locale sensitive decimal style symbols.
151 * @param locale the locale, not null
154 public static DecimalStyle of(Locale locale) {
155 Objects.requireNonNull(locale, "locale");
156 DecimalStyle info = CACHE.get(locale);
158 info = create(locale);
159 CACHE.putIfAbsent(locale, info);
160 info = CACHE.get(locale);
165 private static DecimalStyle create(Locale locale) {
166 DecimalFormatSymbols oldSymbols = DecimalFormatSymbols.getInstance(locale);