Lines Matching refs:number
43 * the number.
51 * doesn't handle this well, because it attaches a number interval to
53 * given number. This can only handle a finite number of
86 * method takes a number object and selects the message of the
95 * offsetValue = "offset:" number
97 * explicitValue = '=' number // adjacent, no white space in between
103 * and between the '=' and the number of an explicitValue.
113 * When formatting, the input number is first matched against the explicitValue clauses.
114 * If there is no exact-number match, then a keyword is selected by calling
115 * the <code>PluralRules</code> with the input number <em>minus the offset</em>.
121 * is replaced by the input number minus the offset.
122 * The number-minus-offset value is formatted using a
124 * need special number formatting, you have to use a <code>MessageFormat</code>
128 * number-minus-offset value as a separate parameter.
136 * constructor, this locale will be used to format the number in the message
151 * Creates a new cardinal-number <code>PluralFormat</code> for the default locale.
153 * number formatting.
161 * Creates a new cardinal-number <code>PluralFormat</code> for a given locale.
164 * standard number formatting.
173 * The standard number formatting will be done using the default locale.
184 * The standard number formatting will be done using the given locale.
185 * @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
210 * Creates a new cardinal-number <code>PluralFormat</code> for a given pattern string.
212 * standard number formatting.
222 * Creates a new cardinal-number <code>PluralFormat</code> for a given pattern string and
225 * standard number formatting.
228 * standard number formatting.
257 * standard number formatting.
277 * standard number formatting.
321 * Formats a plural message for a given number.
323 * @param number a number for which the plural message should be formatted
325 * <code>PluralFormat</code> object yet, the formatted number
332 UnicodeString format(int32_t number, UErrorCode& status) const;
335 * Formats a plural message for a given number.
337 * @param number a number for which the plural message should be formatted
339 * PluralFormat object yet, the formatted number
346 UnicodeString format(double number, UErrorCode& status) const;
349 * Formats a plural message for a given number.
351 * @param number a number for which the plural message should be formatted
353 * <code>PluralFormat</code> object yet, the formatted number
364 UnicodeString& format(int32_t number,
370 number.
372 * @param number a number for which the plural message should be formatted
374 * PluralFormat object yet, the formatted number
385 UnicodeString& format(double number,
395 * and the NumberFormat is set to the default number format for
410 * Sets the number format used by this formatter. You only need to
411 * call this if you want a different number format than the default
413 * @param format the number format to use.
537 * Given a number, returns the appropriate PluralFormat keyword.
539 * @param number The number to be plural-formatted.
543 virtual UnicodeString select(double number, UErrorCode& ec) const = 0;
556 virtual UnicodeString select(double number, UErrorCode& /*ec*/) const;
582 * Finds the PluralFormat sub-message for the given number, or the "other" sub-message.
585 * @param selector the PluralSelector for mapping the number (minus offset) to a keyword.
586 * @param number a number to be matched to one of the PluralFormat argument's explicit values,
593 const PluralSelector& selector, double number, UErrorCode& ec);