Home | History | Annotate | Download | only in unicode

Lines Matching defs:locale

39  *     .locale(...)
49 * // Create a "template" in a singleton but without setting a locale until the call site:
54 * template.locale(...).format(1234).toString(); // +1,234 meters in en-US
67 * formatter.locale(Locale.getEnglish()).format(9.8765).toString(); // prints "9.8765E0", not "9.88E0"
119 * since Fahrenheit is the customary unit for temperature in that locale.
182 * The exact format, including the position and the code point of the sign, differ by locale.
210 * Use the locale-dependent accounting format on negative numbers, and do not show the sign on positive numbers.
213 * The accounting format is defined in CLDR and varies by locale; in many Western locales, the format is a pair
226 * Use the locale-dependent accounting format on negative numbers, and show the plus sign on positive numbers.
323 * in the UK). The format for scientific notation varies by locale; for example, many Western locales display the
1026 int8_t fGrouping1; // -3 means "bogus"; -2 means "needs locale data"; -1 means "no grouping"
1317 Locale locale;
1349 * All notation styles will be properly localized with locale data, and all notation styles are compatible with
1379 * All units will be properly localized with locale data, and all units are compatible with notation styles,
1471 * The exact grouping widths will be chosen based on the locale.
1535 * NumberFormatter::with().symbols(DecimalFormatSymbols(Locale("de_CH"), status))
1539 * <strong>Note:</strong> DecimalFormatSymbols automatically chooses the best numbering system based on the locale.
1552 * The default is to choose the symbols based on the locale specified in the fluent chain.
1572 * Pass this method an instance of {@link NumberingSystem}. For example, to force the locale to always use the Latin
1584 * The default is to choose the best numbering system for the locale.
1726 * A NumberFormatter that does not yet have a locale. In order to format numbers, a locale must be specified.
1736 * Associate the given locale with the number formatter. The locale is used for picking the appropriate symbols,
1740 * To use the Java default locale, call Locale::getDefault():
1743 * NumberFormatter::with(). ... .locale(Locale::getDefault())
1746 * @param locale
1747 * The locale to use when loading data for number formatting.
1751 LocalizedNumberFormatter locale(const icu::Locale &locale) const;
1775 * A NumberFormatter that has a locale associated with it; this means .format() methods are available.
1847 LocalizedNumberFormatter(const impl::MacroProps &macros, const Locale &locale);
1866 // To give UnlocalizedNumberFormatter::locale() access to this class's constructor:
1965 locale is not currently known at
1974 * Call this method at the beginning of a NumberFormatter fluent chain in which the locale is known at the call
1977 * @param locale
1978 * The locale from which to load formats and symbols for number formatting.
1982 static LocalizedNumberFormatter withLocale(const Locale &locale);