Lines Matching full:numberformat
105 const int32_t icu::NumberFormat::gDefaultMaxIntegerDigits = 2000000000;
106 const int32_t icu::NumberFormat::gDefaultMinIntegerDigits = 127;
157 // Static hashtable cache of NumberingSystem objects used by NumberFormat
195 // class NumberFormat
200 UOBJECT_DEFINE_ABSTRACT_RTTI_IMPLEMENTATION(NumberFormat)
232 NumberFormat::NumberFormat()
247 NumberFormat::~NumberFormat()
258 NumberFormat::NumberFormat(const NumberFormat &source)
267 NumberFormat&
268 NumberFormat::operator=(const NumberFormat& rhs)
289 NumberFormat::operator==(const Format& that) const
292 NumberFormat* other = (NumberFormat*)&that;
353 NumberFormat::format(double /* unused number */,
369 NumberFormat::format(int32_t /* unused number */,
385 NumberFormat::format(int64_t /* unused number */,
399 NumberFormat::format(double number,
411 NumberFormat::format(int32_t number,
423 NumberFormat::format(int64_t number,
442 // NumberFormat::format(Formattable ->
447 // NumberFormat::format(Formattable ->
448 // NumberFormat::format(DigitList ->
452 NumberFormat::format(const StringPiece &decimalNum,
481 ArgExtractor(const NumberFormat& nf, const Formattable& obj, UErrorCode& status);
504 ArgExtractor::ArgExtractor(const NumberFormat& /*nf*/, const Formattable& obj, UErrorCode& /*status*/)
524 UnicodeString& NumberFormat::format(const DigitList &number,
542 NumberFormat::format(const DigitList &number,
558 NumberFormat::format(const Formattable& obj,
572 LocalPointer<NumberFormat> cloneFmt((NumberFormat*)this->clone());
613 NumberFormat::format(const Formattable& obj,
627 LocalPointer<NumberFormat> cloneFmt((NumberFormat*)this->clone());
659 NumberFormat::format(int64_t number,
672 NumberFormat::parseObject(const UnicodeString& source,
683 NumberFormat::format(double number, UnicodeString& appendTo) const
693 NumberFormat::format(int32_t number, UnicodeString& appendTo) const
703 NumberFormat::format(int64_t number, UnicodeString& appendTo) const
716 NumberFormat::parse(const UnicodeString& text,
729 CurrencyAmount* NumberFormat::parseCurrency(const UnicodeString& text,
755 NumberFormat::setParseIntegerOnly(UBool value)
764 NumberFormat::setLenient(UBool enable)
770 // Create a number style NumberFormat instance with the default locale.
772 NumberFormat* U_EXPORT2
773 NumberFormat::createInstance(UErrorCode& status)
779 // Create a number style NumberFormat instance with the inLocale locale.
781 NumberFormat* U_EXPORT2
782 NumberFormat::createInstance(const Locale& inLocale, UErrorCode& status)
788 // Create a currency style NumberFormat instance with the default locale.
790 NumberFormat* U_EXPORT2
791 NumberFormat::createCurrencyInstance(UErrorCode& status)
797 // Create a currency style NumberFormat instance with the inLocale locale.
799 NumberFormat* U_EXPORT2
800 NumberFormat::createCurrencyInstance(const Locale& inLocale, UErrorCode& status)
806 // Create a percent style NumberFormat instance with the default locale.
808 NumberFormat* U_EXPORT2
809 NumberFormat::createPercentInstance(UErrorCode& status)
815 // Create a percent style NumberFormat instance with the inLocale locale.
817 NumberFormat* U_EXPORT2
818 NumberFormat::createPercentInstance(const Locale& inLocale, UErrorCode& status)
824 // Create a scientific style NumberFormat instance with the default locale.
826 NumberFormat* U_EXPORT2
827 NumberFormat::createScientificInstance(UErrorCode& status)
833 // Create a scientific style NumberFormat instance with the inLocale locale.
835 NumberFormat* U_EXPORT2
836 NumberFormat::createScientificInstance(const Locale& inLocale, UErrorCode& status)
844 NumberFormat::getAvailableLocales(int32_t& count)
864 return NumberFormat::makeInstance(loc, (UNumberFormatStyle)kind, status);
947 return ((NumberFormat*)instance)->clone();
955 return NumberFormat::makeInstance(loc, (UNumberFormatStyle)kind, status);
987 NumberFormat::registerFactory(NumberFormatFactory* toAdopt, UErrorCode& status)
1003 NumberFormat::unregister(URegistryKey key, UErrorCode& status)
1018 NumberFormat::getAvailableLocales(void)
1031 NumberFormat*
1032 NumberFormat::internalCreateInstance(const Locale& loc, UNumberFormatStyle kind, UErrorCode& status) {
1043 return (NumberFormat*)gService->get(loc, kind, status);
1049 NumberFormat* U_EXPORT2
1050 NumberFormat::createInstance(const Locale& loc, UNumberFormatStyle kind, UErrorCode& status) {
1058 NumberFormat *result = static_cast<NumberFormat *>((*shared)->clone());
1069 // NumberFormat instance.
1072 NumberFormat::isGroupingUsed() const
1079 // NumberFormat instance.
1082 NumberFormat::setGroupingUsed(UBool newValue)
1089 // this NumberFormat instance.
1091 int32_t NumberFormat::getMaximumIntegerDigits() const
1098 // this NumberFormat instance.
1101 NumberFormat::setMaximumIntegerDigits(int32_t newValue)
1110 // this NumberFormat instance.
1113 NumberFormat::getMinimumIntegerDigits() const
1120 // this NumberFormat instance.
1123 NumberFormat::setMinimumIntegerDigits(int32_t newValue)
1132 // this NumberFormat instance.
1135 NumberFormat::getMaximumFractionDigits() const
1142 // this NumberFormat instance.
1145 NumberFormat::setMaximumFractionDigits(int32_t newValue)
1154 // this NumberFormat instance.
1157 NumberFormat::getMinimumFractionDigits() const
1164 // this NumberFormat instance.
1167 NumberFormat::setMinimumFractionDigits(int32_t newValue)
1176 void NumberFormat::setCurrency(const UChar* theCurrency, UErrorCode& ec) {
1188 const UChar* NumberFormat::getCurrency() const {
1192 void NumberFormat::getEffectiveCurrency(UChar* result, UErrorCode& ec) const {
1209 void NumberFormat::setContext(UDisplayContext value, UErrorCode& status)
1221 UDisplayContext NumberFormat::getContext(UDisplayContextType type, UErrorCode& status) const
1234 // Creates the NumberFormat instance of the specified style (number, currency,
1257 NumberFormat *nf = NumberFormat::internalCreateInstance(
1273 NumberFormat::createSharedInstance(const Locale& loc, UNumberFormatStyle kind, UErrorCode& status) {
1287 NumberFormat::isStyleSupported(UNumberFormatStyle style) {
1291 NumberFormat*
1292 NumberFormat::makeInstance(const Locale& desiredLocale,
1298 NumberFormat*
1299 NumberFormat::makeInstance(const Locale& desiredLocale,
1311 // the @draft ICU 4.2 NumberFormat::EStyles into the long-existing UNumberFormatStyle.
1326 // if the locale has "@compat=host", create a host-specific NumberFormat
1434 NumberFormat *f;