ICU 73.2  73.2
Public Member Functions | Friends
icu::number::UnlocalizedNumberRangeFormatter Class Reference

A NumberRangeFormatter that does not yet have a locale. More...

#include <numberrangeformatter.h>

Inheritance diagram for icu::number::UnlocalizedNumberRangeFormatter:
icu::number::NumberRangeFormatterSettings< Derived > icu::UMemory

Public Member Functions

LocalizedNumberRangeFormatter locale (const icu::Locale &locale) const &
 Associate the given locale with the number range formatter.
LocalizedNumberRangeFormatter locale (const icu::Locale &locale)&&
 Overload of locale() for use on an rvalue reference.
 UnlocalizedNumberRangeFormatter ()
 Default constructor: puts the formatter into a valid but undefined state.
 UnlocalizedNumberRangeFormatter (const UnlocalizedNumberRangeFormatter &other)
 Returns a copy of this UnlocalizedNumberRangeFormatter.
 UnlocalizedNumberRangeFormatter (UnlocalizedNumberRangeFormatter &&src) noexcept
 Move constructor: The source UnlocalizedNumberRangeFormatter will be left in a valid but undefined state.
UnlocalizedNumberRangeFormatteroperator= (const UnlocalizedNumberRangeFormatter &other)
 Copy assignment operator.
UnlocalizedNumberRangeFormatteroperator= (UnlocalizedNumberRangeFormatter &&src) noexcept
 Move assignment operator: The source UnlocalizedNumberRangeFormatter will be left in a valid but undefined state.

Friends

class NumberRangeFormatterSettings< UnlocalizedNumberRangeFormatter >
class NumberRangeFormatter

Detailed Description

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
Stable:
ICU 63

Definition at line 399 of file numberrangeformatter.h.


Constructor & Destructor Documentation

Default constructor: puts the formatter into a valid but undefined state.

Stable:
ICU 63

Returns a copy of this UnlocalizedNumberRangeFormatter.

Stable:
ICU 63

Move constructor: The source UnlocalizedNumberRangeFormatter will be left in a valid but undefined state.

Stable:
ICU 63

Member Function Documentation

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.

Parameters:
localeThe locale to use when loading data for number formatting.
Returns:
The fluent chain.
Stable:
ICU 63

Overload of locale() for use on an rvalue reference.

Parameters:
localeThe locale to use when loading data for number formatting.
Returns:
The fluent chain.
See also:
locale
Stable:
ICU 63
UnlocalizedNumberRangeFormatter& icu::number::UnlocalizedNumberRangeFormatter::operator= ( const UnlocalizedNumberRangeFormatter other)

Copy assignment operator.

Stable:
ICU 63
UnlocalizedNumberRangeFormatter& icu::number::UnlocalizedNumberRangeFormatter::operator= ( UnlocalizedNumberRangeFormatter &&  src)

Move assignment operator: The source UnlocalizedNumberRangeFormatter will be left in a valid but undefined state.

Stable:
ICU 63

The documentation for this class was generated from the following file: