ICU 75.1 75.1
|
A NumberRangeFormatter that does not yet have a locale. More...
#include <numberrangeformatter.h>
Friends | |
class | NumberRangeFormatterSettings< UnlocalizedNumberRangeFormatter > |
class | NumberRangeFormatter |
class | LocalizedNumberRangeFormatter |
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.
Definition at line 399 of file numberrangeformatter.h.
|
default |
Default constructor: puts the formatter into a valid but undefined state.
icu::number::UnlocalizedNumberRangeFormatter::UnlocalizedNumberRangeFormatter | ( | const UnlocalizedNumberRangeFormatter & | other | ) |
Returns a copy of this UnlocalizedNumberRangeFormatter.
|
noexcept |
Move constructor: The source UnlocalizedNumberRangeFormatter will be left in a valid but undefined state.
LocalizedNumberRangeFormatter icu::number::UnlocalizedNumberRangeFormatter::locale | ( | const icu::Locale & | locale | ) | && |
LocalizedNumberRangeFormatter icu::number::UnlocalizedNumberRangeFormatter::locale | ( | const icu::Locale & | locale | ) | const & |
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.
locale | The locale to use when loading data for number formatting. |
UnlocalizedNumberRangeFormatter & icu::number::UnlocalizedNumberRangeFormatter::operator= | ( | const UnlocalizedNumberRangeFormatter & | other | ) |
Copy assignment operator.
|
noexcept |
Move assignment operator: The source UnlocalizedNumberRangeFormatter will be left in a valid but undefined state.
Definition at line 476 of file numberrangeformatter.h.
|
friend |
Definition at line 473 of file numberrangeformatter.h.
Definition at line 467 of file numberrangeformatter.h.