Lines Matching refs:NumberFormat
57 * NumberFormat helps you to format and parse numbers for any locale.
69 * NumberFormat* nf = NumberFormat::createInstance(success)
75 * NumberFormat.
85 * nf = NumberFormat::createInstance( success );
100 * nf = NumberFormat::createInstance( Locale::FRENCH, success );
103 * You can use a NumberFormat to parse also.
136 * try casting the NumberFormat you get from the factory methods to a
169 class U_I18N_API NumberFormat : public Format {
224 virtual ~NumberFormat();
311 * Format a double number. These methods call the NumberFormat
324 * Format a long number. These methods call the NumberFormat
337 * Format an int64 number. These methods call the NumberFormat
529 * The default implementation in NumberFormat converts the decimal number
530 * to a double and formats that. Subclasses of NumberFormat that want
551 * The default implementation in NumberFormat converts the decimal number
552 * to a double and formats that. Subclasses of NumberFormat that want
619 * @see NumberFormat::isParseIntegerOnly
654 * dependant and determined by sub-classes of NumberFormat.
697 static NumberFormat* U_EXPORT2 createInstance(UErrorCode&);
707 static NumberFormat* U_EXPORT2 createInstance(const Locale& inLocale,
715 * @return A new NumberFormat instance.
718 static NumberFormat* U_EXPORT2 createInstance(const Locale& desiredLocale,
726 static NumberFormat* U_EXPORT2 createCurrencyInstance(UErrorCode&);
733 static NumberFormat* U_EXPORT2 createCurrencyInstance(const Locale& inLocale,
740 static NumberFormat* U_EXPORT2 createPercentInstance(UErrorCode&);
747 static NumberFormat* U_EXPORT2 createPercentInstance(const Locale& inLocale,
754 static NumberFormat* U_EXPORT2 createScientificInstance(UErrorCode&);
761 static NumberFormat* U_EXPORT2 createScientificInstance(const Locale& inLocale,
806 * determined by sub-classes of NumberFormat.
938 * because NumberFormat is an abstract base class, no fully constructed object
939 * will have the class ID returned by NumberFormat::getStaticClassID().
964 NumberFormat();
970 NumberFormat(const NumberFormat&);
976 NumberFormat& operator=(const NumberFormat&);
995 static NumberFormat* makeInstance(const Locale& desiredLocale,
1010 * @return A new NumberFormat instance.
1012 static NumberFormat* makeInstance(const Locale& desiredLocale,
1069 * return an appropriate instance of NumberFormat.
1072 virtual NumberFormat* createFormat(const Locale& loc, UNumberFormatStyle formatType) = 0;
1119 NumberFormat::isParseIntegerOnly() const
1125 NumberFormat::isLenient() const
1131 NumberFormat::format(const Formattable& obj,