Lines Matching refs:number
39 * the number.
47 * doesn't handle this well, because it attaches a number interval to
49 * given number. This can only handle a finite number of
82 * method takes a number object and selects the message of the
91 * offsetValue = "offset:" number
93 * explicitValue = '=' number // adjacent, no white space in between
99 * and between the '=' and the number of an explicitValue.
109 * When formatting, the input number is first matched against the explicitValue clauses.
110 * If there is no exact-number match, then a keyword is selected by calling
111 * the <code>PluralRules</code> with the input number <em>minus the offset</em>.
117 * is replaced by the input number minus the offset.
118 * The number-minus-offset value is formatted using a
120 * need special number formatting, you have to use a <code>MessageFormat</code>
124 * number-minus-offset value as a separate parameter.
132 * constructor, this locale will be used to format the number in the message
147 * Creates a new cardinal-number <code>PluralFormat</code> for the default locale.
149 * number formatting.
157 * Creates a new cardinal-number <code>PluralFormat</code> for a given locale.
160 * standard number formatting.
169 * The standard number formatting will be done using the default locale.
180 * The standard number formatting will be done using the given locale.
181 * @param locale the default number formatting will be done using this
198 * The standard number formatting will be done using the given locale.
199 * @param locale the default number formatting will be done using this
209 * Creates a new cardinal-number <code>PluralFormat</code> for a given pattern string.
211 * standard number formatting.
221 * Creates a new cardinal-number <code>PluralFormat</code> for a given pattern string and
224 * standard number formatting.
227 * standard number formatting.
256 * standard number formatting.
275 * standard number formatting.
318 * Formats a plural message for a given number.
320 * @param number a number for which the plural message should be formatted
322 * <code>PluralFormat</code> object yet, the formatted number
329 UnicodeString format(int32_t number, UErrorCode& status) const;
332 * Formats a plural message for a given number.
334 * @param number a number for which the plural message should be formatted
336 * PluralFormat object yet, the formatted number
343 UnicodeString format(double number, UErrorCode& status) const;
346 * Formats a plural message for a given number.
348 * @param number a number for which the plural message should be formatted
350 * <code>PluralFormat</code> object yet, the formatted number
361 UnicodeString& format(int32_t number,
367 * Formats a plural message for a given number.
369 * @param number a number for which the plural message should be formatted
371 * PluralFormat object yet, the formatted number
382 UnicodeString& format(double number,
392 * and the NumberFormat is set to the default number format for
407 * Sets the number format used by this formatter. You only need to
408 * call this if you want a different number format than the default
410 * @param format the number format to use.
451 * Formats a plural message for a number taken from a Formattable object.
453 * @param obj The object containing a number for which the
536 * Given a number, returns the appropriate PluralFormat keyword.
539 * @param number The number to be plural-formatted.
544 virtual UnicodeString select(void *context, double number, UErrorCode& ec) const = 0;
557 virtual UnicodeString select(void *context, double number, UErrorCode& /*ec*/) const; /**< @internal */
582 UnicodeString& format(const Formattable& numberObject, double number,
588 * Finds the PluralFormat sub-message for the given number, or the "other" sub-message.
591 * @param selector the PluralSelector for mapping the number (minus offset) to a keyword.
593 * @param number a number to be matched to one of the PluralFormat argument's explicit values,
600 const PluralSelector& selector, void *context, double number, UErrorCode& ec); /**< @internal */