Home | History | Annotate | Download | only in unicode

Lines Matching refs:pattern

107  *     UnicodeString pattern;
126 * pattern = ((DecimalFormat*)form)->toPattern(pattern);
127 * cout << locales[i].getDisplayName(displayName) << ": " << pattern;
159 * <p>A DecimalFormat consists of a <em>pattern</em> and a set of
160 * <em>symbols</em>. The pattern may be set directly using
162 * manipulate aspects of the pattern, such as the minimum number of integer
165 * pattern and symbols are read from ICU's locale data.
167 * <p><strong>Special Pattern Characters</strong>
169 * <p>Many characters in a pattern are taken literally; they are matched during
173 * replacement character is the same as the pattern character; in the U.S. locale,
180 * <p>To insert a special character in a pattern as a literal, that is, without
266 * If present in a pattern, the monetary decimal separator
283 * <p>A DecimalFormat pattern contains a postive and negative
312 * is 3, and the secondary is 2, then this corresponds to the pattern
314 * pattern contains multiple grouping separators, the interval between the last
322 * <p><strong>Pattern BNF</strong>
325 * pattern := subpattern (';' subpattern)?
350 * sigDigits elements, between any two pattern characters of that
358 * locales they differ. For example, the pattern
396 * specified either using a pattern or using the API. The following
446 * notation through the API or through the pattern. In a pattern, the exponent
455 * from the pattern. This allows patterns such as "0.###E0 m/s". To prefix
507 * <td align=left>Pattern
546 * example, the pattern <code>"@@@"</code> indicates exactly 3
547 * significant digits. The pattern <code>"@##"</code> indicates from
550 * significant digits have been shown. For example, the pattern
554 * <li>If a pattern uses significant digits, it may not contain a
555 * decimal separator, nor the <code>'0'</code> pattern character.
566 * <li>In order to enable significant digits formatting, use a pattern
567 * containing the <code>'@'</code> pattern character. Alternatively,
571 * pattern that does not contain the <code>'@'</code> pattern
577 * patterns are equivalent to a normal exponential pattern with a minimum and
581 * pattern <code>"@@###E0"</code> is equivalent to <code>"0.0###E0"</code>.
594 * through the API or through the pattern syntax. In a pattern the pad escape
605 * the pattern <code>"* #0 o''clock"</code>, the format width is 10.
610 * used, because the pattern width is significant with padding. In the pattern
622 * <li>When specified in a pattern, the 32-bit code point immediately
624 * including a special pattern character. That is, the pad escape
626 * the pad escape, then the pattern is illegal.
635 * or in a pattern. To specify a rounding increment in a pattern, include the
636 * increment in the pattern itself. "#,#50" specifies a rounding increment of
649 * through the API; it can not be set with a pattern.
654 * <li>In a pattern, digits '1' through '9' specify rounding, but otherwise
683 * Create a DecimalFormat using the default pattern and symbols
692 * pattern is invalid this will be set to a failure code.
698 * Create a DecimalFormat from the given pattern and the symbols
706 * @param pattern A non-localized pattern string.
708 * pattern is invalid this will be set to a failure code.
711 DecimalFormat(const UnicodeString& pattern,
715 * Create a DecimalFormat from the given pattern and symbols.
725 * @param pattern a non-localized pattern string
729 * pattern is invalid this will be set to a failure code.
732 DecimalFormat( const UnicodeString& pattern,
739 * Create a DecimalFormat from the given pattern, symbols, and style.
741 * @param pattern a non-localized pattern string
746 * pattern is invalid this will be set to a failure code.
749 DecimalFormat( const UnicodeString& pattern,
820 * Create a DecimalFormat from the given pattern and symbols.
830 * @param pattern a non-localized pattern string
835 * pattern is invalid this will be set to a failure code.
838 DecimalFormat( const UnicodeString& pattern,
843 * Create a DecimalFormat from the given pattern and symbols.
853 * @param pattern a non-localized pattern string
856 * pattern is invalid this will be set to a failure code.
859 DecimalFormat( const UnicodeString& pattern,
1183 * that is, if it does not contain the currency pattern symbol
1607 * the number 123456789 formats as "1,23,45,6789", and the pattern
1691 * Allows you to get the parse behavior of the pattern decimal mark.
1693 * @return TRUE if input must contain a match to decimal mark in pattern
1699 * Allows you to set the behavior of the pattern decimal mark.
1701 * if TRUE, the input must have a decimal mark if one was specified in the pattern. When
1704 * @param newValue set TRUE if input must contain a match to decimal mark in pattern
1711 * Synthesizes a pattern string that represents the current state
1714 * @param result Output param which will receive the pattern.
1723 * Synthesizes a localized pattern string that represents the current
1726 * @param result Output param which will receive the localized pattern.
1735 * Apply the given pattern to this Format object. A pattern is a
1743 * For negative numbers, use a second pattern, separated by a semicolon
1753 * these are presumed to be set in the positive pattern.
1755 * @param pattern The pattern to be applied.
1759 * exit. If the pattern is invalid, this will be
1763 virtual void applyPattern(const UnicodeString& pattern,
1767 * Sets the pattern.
1768 * @param pattern The pattern to be applied.
1770 * exit. If the pattern is invalid, this will be
1774 virtual void applyPattern(const UnicodeString& pattern,
1778 * Apply the given pattern to this Format object. The pattern
1779 * is assumed to be in a localized notation. A pattern is a
1787 * For negative numbers, use a second pattern, separated by a semicolon
1797 * these are presumed to be set in the positive pattern.
1799 * @param pattern The localized pattern to be applied.
1803 * exit. If the pattern is invalid, this will be
1807 virtual void applyLocalizedPattern(const UnicodeString& pattern,
1812 * Apply the given pattern to this Format object.
1814 * @param pattern The localized pattern to be applied.
1816 * exit. If the pattern is invalid, this will be
1820 virtual void applyLocalizedPattern(const UnicodeString& pattern,
1935 * currency format through the application of a new pattern.
2078 const UnicodeString* pattern = 0,
2106 // It parses against the current currency pattern
2109 // and parses against the current pattern using simple affix comparison.
2169 // pattern and the unique affix patterns of the plural currency patterns.
2203 // DecimalFormat(pattern, decimalFormatSymbol, style)
2207 // Affix pattern set for currency.
2209 // each element of the set saves the negative prefix pattern,
2210 // negative suffix pattern, positive prefix pattern,
2211 // and positive suffix pattern of a pattern.
2214 // The set contains the default currency pattern from the locale,
2217 // For example, if 2 currency plural patterns are the same, only one pattern