Searched refs:newNumFormat (Results 1 – 1 of 1) sorted by relevance
831 NumberFormat newNumFormat = new NumberFormat(); in testFormatByPattern() local832 newNumFormat.setPattern("(\\d{3})(\\d{3})(\\d{4})"); in testFormatByPattern()833 newNumFormat.setFormat("($1) $2-$3"); in testFormatByPattern()835 newNumberFormats.add(newNumFormat); in testFormatByPattern()848 newNumFormat.setNationalPrefixFormattingRule("$NP ($FG)"); in testFormatByPattern()849 newNumFormat.setFormat("$1 $2-$3"); in testFormatByPattern()857 newNumFormat.setPattern("(\\d{2})(\\d{5})(\\d{3})"); in testFormatByPattern()858 newNumFormat.setFormat("$1-$2 $3"); in testFormatByPattern()859 newNumberFormats.set(0, newNumFormat); in testFormatByPattern()868 newNumFormat.setNationalPrefixFormattingRule("$NP$FG"); in testFormatByPattern()[all …]