Lines Matching refs:format
65 * and format numbers in any locale, including support for Western, Arabic, or
89 * // format for each locale.
96 * cout << endl << "FORMAT " << j << endl;
114 * cout << " -> " << form->format(myNumber,str) << endl;
115 * form->parse(form->format(myNumber,str), fmtable, success);
127 * // format for each locale</strong>
136 * NumberFormat* format = NumberFormat::createInstance(locale, j, success);
138 * cout << "format result " << form->format(myNumber, str) << endl;
139 * format->parse(form->format(myNumber, str), fmtable, success);
496 * <td align=left>Output of format()
578 * format() to a specific width. Padding may be specified either
589 * including prefix and suffix, determines the format width. For example, in
590 * the pattern <code>"* #0 o''clock"</code>, the format width is 10.
596 * "* ##,##,#,##0.##", the format width is 14. The initial characters "##,##,"
598 * the format width.
722 * behavior of the format.
727 * to a standard format, you can modify the format returned by
748 * @param style style of decimal format, kNumberStyle etc.
761 * behavior of the format.
766 * to a standard format, you can modify the format returned by
784 * behavior of the format.
789 * to a standard format, you can modify the format returned by
825 * Clone this Format object polymorphically. The caller owns the
831 virtual Format* clone(void) const;
834 * Return true if the given Format objects are semantically equal.
838 * @return true if the given Format objects are semantically equal.
841 virtual UBool operator==(const Format& other) const;
844 * Format a double or long number using base-10 representation.
854 virtual UnicodeString& format(double number,
858 virtual UnicodeString& format(double number,
864 * Format a long number using base-10 representation.
874 virtual UnicodeString& format(int32_t number,
878 virtual UnicodeString& format(int32_t number,
884 * Format an int64 number using base-10 representation.
894 virtual UnicodeString& format(int64_t number,
898 virtual UnicodeString& format(int64_t number,
904 * Format a Formattable using base-10 representation.
915 virtual UnicodeString& format(const Formattable& obj,
924 * @param obj The object to format.
931 UnicodeString& format(const Formattable& obj,
937 * Format a double number.
945 UnicodeString& format(double number,
950 * Format a long number. These methods call the NumberFormat
951 * pure virtual format() methods with the default FieldPosition.
959 UnicodeString& format(int32_t number,
964 * Format an int64 number. These methods call the NumberFormat
965 * pure virtual format() methods with the default FieldPosition.
973 UnicodeString& format(int64_t number,
1054 * This method will fail if this format is not a currency format,
1073 * Returns the decimal format symbols, which is generally not changed
1082 * Sets the decimal format symbols, which is generally not changed
1090 * Sets the decimal format symbols, which is generally not changed
1099 * Returns the currency plural format information,
1107 * Sets the currency plural format information,
1115 * Sets the currency plural format information,
1268 * Get the width to which the output of format() is padded.
1270 * @return the format width, or zero if no padding is in effect
1281 * Set the width to which the output of format() is padded.
1285 * format(), or zero to disable padding. A negative
1297 * Get the pad character used to pad to the format width. The
1311 * Set the character used to pad to the format width. If padding
1328 * at which padding will be inserted if the result of format()
1329 * is shorter than the format width.
1345 * at which padding will be inserted if the result of format()
1346 * is shorter than the format width. This has no effect unless padding is
1378 * number format without additional changes.
1526 * of this Format object.
1538 * state of this Format object.
1549 * Apply the given pattern to this Format object. A pattern is a
1592 * Apply the given pattern to this Format object. The pattern
1626 * Apply the given pattern to this Format object.
1743 * amounts. This takes effect immediately, if this format is a
1744 * currency format. If this format is not a currency format, then
1746 * currency format through the application of a new pattern.
1763 * The resource tags we use to retrieve decimal format data from
1871 * @param isInteger if TRUE format the digits as Integer.
1950 * Get a decimal format symbol.
2059 * is not null, then delegate to it to format currency symbols.
2091 * Following are used for currency format
2099 * Represents whether this is a currency format, and which
2100 * currency format style.
2101 * 0: not currency format type;
2113 * every currency format pattern,
2144 * the formatter style is currency plural format style.
2194 // Information needed for DecimalFormat to format/parse currency plural.
2234 DecimalFormat::format(const Formattable& obj,
2237 // Don't use Format:: - use immediate base class only,
2239 return NumberFormat::format(obj, appendTo, status);
2243 DecimalFormat::format(double number,
2246 return format(number, appendTo, pos, NULL);
2250 DecimalFormat::format(int32_t number,
2253 return format((int64_t)number, appendTo, pos, NULL);