Home
last modified time | relevance | path

Searched refs:newNumFormat (Results 1 – 1 of 1) sorted by relevance

/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberUtilTest.java831 NumberFormat newNumFormat = new NumberFormat(); in testFormatByPattern() local
832 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 …]