A NumberFormatter that does not yet have a locale. More...
#include <numberformatter.h>
Public Member Functions | |
| LocalizedNumberFormatter | locale (const icu::Locale &locale) const & |
| Associate the given locale with the number formatter. | |
| LocalizedNumberFormatter | locale (const icu::Locale &locale)&& |
| Overload of locale() for use on an rvalue reference. | |
| UnlocalizedNumberFormatter () | |
| Default constructor: puts the formatter into a valid but undefined state. | |
| UnlocalizedNumberFormatter (const UnlocalizedNumberFormatter &other) | |
| Returns a copy of this UnlocalizedNumberFormatter. | |
| UnlocalizedNumberFormatter (UnlocalizedNumberFormatter &&src) U_NOEXCEPT | |
| Move constructor: The source UnlocalizedNumberFormatter will be left in a valid but undefined state. | |
| UnlocalizedNumberFormatter & | operator= (const UnlocalizedNumberFormatter &other) |
| Copy assignment operator. | |
| UnlocalizedNumberFormatter & | operator= (UnlocalizedNumberFormatter &&src) U_NOEXCEPT |
| Move assignment operator: The source UnlocalizedNumberFormatter will be left in a valid but undefined state. | |
Friends | |
| class | NumberFormatterSettings< UnlocalizedNumberFormatter > |
| class | NumberFormatter |
A NumberFormatter that does not yet have a locale.
In order to format numbers, a locale must be specified.
Instances of this class are immutable and thread-safe.
Definition at line 2144 of file numberformatter.h.
| icu::number::UnlocalizedNumberFormatter::UnlocalizedNumberFormatter | ( | ) |
Default constructor: puts the formatter into a valid but undefined state.
| icu::number::UnlocalizedNumberFormatter::UnlocalizedNumberFormatter | ( | const UnlocalizedNumberFormatter & | other | ) |
Returns a copy of this UnlocalizedNumberFormatter.
| icu::number::UnlocalizedNumberFormatter::UnlocalizedNumberFormatter | ( | UnlocalizedNumberFormatter && | src | ) |
Move constructor: The source UnlocalizedNumberFormatter will be left in a valid but undefined state.
| LocalizedNumberFormatter icu::number::UnlocalizedNumberFormatter::locale | ( | const icu::Locale & | locale | ) |
| LocalizedNumberFormatter icu::number::UnlocalizedNumberFormatter::locale | ( | const icu::Locale & | locale | ) | const |
Associate the given locale with the number 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. |
| UnlocalizedNumberFormatter& icu::number::UnlocalizedNumberFormatter::operator= | ( | UnlocalizedNumberFormatter && | src | ) |
Move assignment operator: The source UnlocalizedNumberFormatter will be left in a valid but undefined state.
| UnlocalizedNumberFormatter& icu::number::UnlocalizedNumberFormatter::operator= | ( | const UnlocalizedNumberFormatter & | other | ) |
Copy assignment operator.
1.6.1