ICU 72.1 72.1
|
A NumberRangeFormatter that does not yet have a locale. More...
#include <numberrangeformatter.h>
Friends | |
class | NumberRangeFormatterSettings< UnlocalizedNumberRangeFormatter > |
class | NumberRangeFormatter |
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 392 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.
icu::number::UnlocalizedNumberRangeFormatter::UnlocalizedNumberRangeFormatter | ( | UnlocalizedNumberRangeFormatter && | src | ) |
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.
UnlocalizedNumberRangeFormatter & icu::number::UnlocalizedNumberRangeFormatter::operator= | ( | UnlocalizedNumberRangeFormatter && | src | ) |
Move assignment operator: The source UnlocalizedNumberRangeFormatter will be left in a valid but undefined state.
|
friend |
Definition at line 462 of file numberrangeformatter.h.
|
friend |
Definition at line 455 of file numberrangeformatter.h.