IMPORTANT: New users are strongly encouraged to see if numberformatter.h fits their use case.
CurrencyAmount * parseCurrency(const UnicodeString &text, ParsePosition &pos) const override
Parses text from the given string as a currency amount.
void parse(const UnicodeString &text, Formattable &result, UErrorCode &status) const override
CompactDecimalFormat does not support parsing.
UClassID getDynamicClassID() const override
Returns a unique class ID POLYMORPHICALLY.
void parse(const UnicodeString &text, Formattable &result, ParsePosition &parsePosition) const override
CompactDecimalFormat does not support parsing.
~CompactDecimalFormat() override
Destructor.
CompactDecimalFormat(const CompactDecimalFormat &source)
Copy constructor.
CompactDecimalFormat * clone() const override
Clone this Format object polymorphically.
static CompactDecimalFormat * createInstance(const Locale &inLocale, UNumberCompactStyle style, UErrorCode &status)
Returns a compact decimal instance for specified locale.
CompactDecimalFormat & operator=(const CompactDecimalFormat &rhs)
Assignment operator.
static UClassID getStaticClassID()
Return the class ID for this class.
A currency together with a numeric amount, such as 200 USD.
IMPORTANT: New users are strongly encouraged to see if numberformatter.h fits their use case.
virtual UnicodeString & format(const Formattable &obj, UnicodeString &appendTo, FieldPosition &pos, UErrorCode &status) const override
Format an object to produce a string.
Formattable objects can be passed to the Format class or its subclasses for formatting.
A Locale object represents a specific geographical, political, or cultural region.
ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
C++ API: Compatibility APIs for decimal formatting.
struct UHashtable UHashtable
UNumberCompactStyle
Constants for specifying short or long format.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
Basic definitions for ICU, for both C and C++ APIs.
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4