See the main description in numberformatter.h for documentation and examples. More...
#include <numberformatter.h>
Public Member Functions | |
| NumberFormatter () | |
| Use factory methods instead of the constructor to create a NumberFormatter. | |
| NumberRangeFormatter () | |
| Use factory methods instead of the constructor to create a NumberFormatter. | |
Static Public Member Functions | |
| static UnlocalizedNumberFormatter | with () |
| Call this method at the beginning of a NumberFormatter fluent chain in which the locale is not currently known at the call site. | |
| static LocalizedNumberFormatter | withLocale (const Locale &locale) |
| Call this method at the beginning of a NumberFormatter fluent chain in which the locale is known at the call site. | |
| static UnlocalizedNumberFormatter | forSkeleton (const UnicodeString &skeleton, UErrorCode &status) |
| Call this method at the beginning of a NumberFormatter fluent chain to create an instance based on a given number skeleton string. | |
| static UnlocalizedNumberRangeFormatter | with () |
| Call this method at the beginning of a NumberRangeFormatter fluent chain in which the locale is not currently known at the call site. | |
| static LocalizedNumberRangeFormatter | withLocale (const Locale &locale) |
| Call this method at the beginning of a NumberRangeFormatter fluent chain in which the locale is known at the call site. | |
See the main description in numberformatter.h for documentation and examples.
See the main description in numberrangeformatter.h for documentation and examples.
Definition at line 2653 of file numberformatter.h.
| static UnlocalizedNumberFormatter icu::number::final::forSkeleton | ( | const UnicodeString & | skeleton, | |
| UErrorCode & | status | |||
| ) | [static] |
Call this method at the beginning of a NumberFormatter fluent chain to create an instance based on a given number skeleton string.
| skeleton | The skeleton string off of which to base this NumberFormatter. | |
| status | Set to U_NUMBER_SKELETON_SYNTAX_ERROR if the skeleton was invalid. |
| static UnlocalizedNumberRangeFormatter icu::number::final::with | ( | ) | [static] |
Call this method at the beginning of a NumberRangeFormatter fluent chain in which the locale is not currently known at the call site.
| static UnlocalizedNumberFormatter icu::number::final::with | ( | ) | [static] |
Call this method at the beginning of a NumberFormatter fluent chain in which the locale is not currently known at the call site.
| static LocalizedNumberRangeFormatter icu::number::final::withLocale | ( | const Locale & | locale | ) | [static] |
Call this method at the beginning of a NumberRangeFormatter fluent chain in which the locale is known at the call site.
| locale | The locale from which to load formats and symbols for number range formatting. |
| static LocalizedNumberFormatter icu::number::final::withLocale | ( | const Locale & | locale | ) | [static] |
Call this method at the beginning of a NumberFormatter fluent chain in which the locale is known at the call site.
| locale | The locale from which to load formats and symbols for number formatting. |
1.6.1