# Print output for @column tags ?> UnlocalizedNumberRangeFormatter - Android SDK | Android Developers

Most visited


Recently visited


UnlocalizedNumberRangeFormatter

public class UnlocalizedNumberRangeFormatter
extends NumberRangeFormatterSettings<UnlocalizedNumberRangeFormatter>

java.lang.Object
   ↳ android.icu.number.NumberRangeFormatterSettings<android.icu.number.UnlocalizedNumberRangeFormatter>
     ↳ android.icu.number.UnlocalizedNumberRangeFormatter


A NumberRangeFormatter that does not yet have a locale. In order to format, a locale must be specified. Instances of this class are immutable and thread-safe.

See also:

Summary


Public methods

LocalizedNumberRangeFormatter locale(ULocale locale)

ULocale version of the locale(java.util.Locale) setter above.

LocalizedNumberRangeFormatter locale(Locale locale)

Associate the given locale with the number range formatter.

Inherited methods

Public methods


locale

public LocalizedNumberRangeFormatter locale (ULocale locale)

ULocale version of the locale(java.util.Locale) setter above.

Parameters
locale ULocale: The locale to use when loading data for number range formatting.

Returns
LocalizedNumberRangeFormatter The fluent chain

See also:

locale

public LocalizedNumberRangeFormatter locale (Locale locale)

Associate the given locale with the number range formatter. The locale is used for picking the appropriate symbols, formats, and other data for number display.

To use the Java default locale, call Locale.getDefault():

 NumberFormatter.with(). ... .locale(Locale.getDefault())
 

Parameters
locale Locale: The locale to use when loading data for number range formatting.

Returns
LocalizedNumberRangeFormatter The fluent chain

Browse this site in English?

You requested a page in English, but your language preference for this site is English.

Would you like to change your language preference and browse this site in English? If you want to change your language preference later, use the language menu at the bottom of each page.