Home | History | Annotate | Download | only in unicode

Lines Matching refs:number

42  * the number.
50 * doesn't handle this well, because it attaches a number interval to
52 * given number. This can only handle a finite number of
85 * method takes a number object and selects the message of the
94 * offsetValue = "offset:" number
96 * explicitValue = '=' number // adjacent, no white space in between
102 * and between the '=' and the number of an explicitValue.
112 * When formatting, the input number is first matched against the explicitValue clauses.
113 * If there is no exact-number match, then a keyword is selected by calling
114 * the <code>PluralRules</code> with the input number <em>minus the offset</em>.
120 * is replaced by the input number minus the offset.
121 * The number-minus-offset value is formatted using a
123 * need special number formatting, you have to use a <code>MessageFormat</code>
127 * number-minus-offset value as a separate parameter.
135 * constructor, this locale will be used to format the number in the message
150 * Creates a new cardinal-number <code>PluralFormat</code> for the default locale.
152 * number formatting.
160 * Creates a new cardinal-number <code>PluralFormat</code> for a given locale.
163 * standard number formatting.
172 * The standard number formatting will be done using the default locale.
183 * The standard number formatting will be done using the given locale.
184 * @param locale the default number formatting will be done using this
201 * The standard number formatting will be done using the given locale.
202 * @param locale the default number formatting will be done using this
212 * Creates a new cardinal-number <code>PluralFormat</code> for a given pattern string.
214 * standard number formatting.
224 * Creates a new cardinal-number <code>PluralFormat</code> for a given pattern string and
227 * standard number formatting.
230 * standard number formatting.
259 * standard number formatting.
278 * 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 * Formats a plural message for a given 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.
454 * Formats a plural message for a number taken from a Formattable object.
456 * @param obj The object containing a number for which the
531 * Given a number, returns the appropriate PluralFormat keyword.
534 * @param number The number to be plural-formatted.
539 virtual UnicodeString select(void *context, double number, UErrorCode& ec) const = 0;
552 virtual UnicodeString select(void *context, double number, UErrorCode& /*ec*/) const; /**< @internal */
573 UnicodeString& format(const Formattable& numberObject, double number,
579 * Finds the PluralFormat sub-message for the given number, or the "other" sub-message.
582 * @param selector the PluralSelector for mapping the number (minus offset) to a keyword.
584 * @param number a number to be matched to one of the PluralFormat argument's explicit values,
591 const PluralSelector& selector, void *context, double number, UErrorCode& ec); /**< @internal */