# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

Summary: Methods | Inherited Methods

# 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:

- `NumberRangeFormatter`

## 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
From class `android.icu.number.NumberRangeFormatterSettings`
`T` | `collapse(NumberRangeFormatter.RangeCollapse collapse)` Sets the aggressiveness of "collapsing" fields across the range separator.
`boolean` | `equals(Object other)` Indicates whether some other object is "equal to" this one.
`int` | `hashCode()` Returns a hash code value for the object.
`T` | `identityFallback(NumberRangeFormatter.RangeIdentityFallback identityFallback)` Sets the behavior when the two sides of the range are the same.
`T` | `numberFormatterBoth(UnlocalizedNumberFormatter formatter)` Sets the NumberFormatter instance to use for the numbers in the range.
`T` | `numberFormatterFirst(UnlocalizedNumberFormatter formatterFirst)` Sets the NumberFormatter instance to use for the first number in the range.
`T` | `numberFormatterSecond(UnlocalizedNumberFormatter formatterSecond)` Sets the NumberFormatter instances to use for the second number in the range.
From class `java.lang.Object`
`Object` | `clone()` Creates and returns a copy of this object.
`boolean` | `equals(Object obj)` Indicates whether some other object is "equal to" this one.
`void` | `finalize()` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
`final Class<?>` | `getClass()` Returns the runtime class of this `Object`.
`int` | `hashCode()` Returns a hash code value for the object.
`final void` | `notify()` Wakes up a single thread that is waiting on this object's monitor.
`final void` | `notifyAll()` Wakes up all threads that are waiting on this object's monitor.
`String` | `toString()` Returns a string representation of the object.
`final void` | `wait(long timeout, int nanos)` Causes the current thread to wait until another thread invokes the `notify()` method or the `notifyAll()` method for this object, or some other thread interrupts the current thread, or a certain amount of real time has elapsed.
`final void` | `wait(long timeout)` Causes the current thread to wait until either another thread invokes the `notify()` method or the `notifyAll()` method for this object, or a specified amount of time has elapsed.
`final void` | `wait()` Causes the current thread to wait until another thread invokes the `notify()` method or the `notifyAll()` method for this object.

## 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(Locale)`

### 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

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*