Lines Matching refs:affix

1970      * Expand the affix pattern strings into the expanded affix strings.  If any
1971 * affix pattern string is null, do not expand it. This method should be
1972 * called any time the symbols or the affix patterns change in order to keep
1973 * the expanded affix strings up to date.
1997 * Expand an affix pattern into an affix string. All characters in the
2043 * Expand an affix pattern into an array of FieldPositions describing
2122 * Appends an affix pattern to the given StringBuffer, quoting special
2123 * characters as needed. Uses the internal affix pattern, if that exists,
2124 * or the literal affix, if the internal affix pattern is null. The
2125 * appended string will generate the same affix pattern (or literal affix)
2128 * @param buffer the affix string is appended to this
2130 * @param expAffix a corresponding expanded affix, such as positivePrefix.
2132 * expAffix is appended as a literal affix.
2181 * Append an affix to the given StringBuffer, using quotes if
2185 private void appendAffix(StringBuffer buffer, String affix, boolean localized) {
2188 needQuote = affix.indexOf(symbols.getZeroDigit()) >= 0
2189 || affix.indexOf(symbols.getGroupingSeparator()) >= 0
2190 || affix.indexOf(symbols.getDecimalSeparator()) >= 0
2191 || affix.indexOf(symbols.getPercent()) >= 0
2192 || affix.indexOf(symbols.getPerMill()) >= 0
2193 || affix.indexOf(symbols.getDigit()) >= 0
2194 || affix.indexOf(symbols.getPatternSeparator()) >= 0
2195 || affix.indexOf(symbols.getMinusSign()) >= 0
2196 || affix.indexOf(CURRENCY_SIGN) >= 0;
2199 needQuote = affix.indexOf(PATTERN_ZERO_DIGIT) >= 0
2200 || affix.indexOf(PATTERN_GROUPING_SEPARATOR) >= 0
2201 || affix.indexOf(PATTERN_DECIMAL_SEPARATOR) >= 0
2202 || affix.indexOf(PATTERN_PERCENT) >= 0
2203 || affix.indexOf(PATTERN_PER_MILLE) >= 0
2204 || affix.indexOf(PATTERN_DIGIT) >= 0
2205 || affix.indexOf(PATTERN_SEPARATOR) >= 0
2206 || affix.indexOf(PATTERN_MINUS) >= 0
2207 || affix.indexOf(CURRENCY_SIGN) >= 0;
2210 if (affix.indexOf('\'') < 0) buffer.append(affix);
2212 for (int j=0; j<affix.length(); ++j) {
2213 char c = affix.charAt(j);
2388 // The affix is either the prefix or the suffix.
2389 StringBuffer affix = prefix;
2405 affix.append("''"); // 'don''t'
2433 affix.append(doubled ? "'\u00A4\u00A4" : "'\u00A4");
2444 affix.append("''"); // o''clock
2470 affix.append("'%");
2478 affix.append("'\u2030");
2481 affix.append("'-");
2488 affix.append(ch);
2502 affix = suffix;
2568 affix = suffix;
2573 affix = suffix;
2920 * <p>Stream versions older than 2 will not have the affix pattern variables
2922 * to <code>null</code>, which means the affix strings will be taken as