Home
last modified time | relevance | path

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

/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DPhoneNumberUtil.java1194 String nationalPrefix = metadata.getNationalPrefix();
1195 if (nationalPrefix.length() > 0) {
1198 NP_PATTERN.matcher(nationalPrefixFormattingRule).replaceFirst(nationalPrefix);
1495 String nationalPrefix = getNddPrefixForRegion(regionCode, true /* strip non-digits */);
1497 if (nationalPrefix == null || nationalPrefix.length() == 0) {
1505 number.getRawInput(), nationalPrefix, regionCode)) {
1566 private boolean rawInputContainsNationalPrefix(String rawInput, String nationalPrefix,
1569 if (normalizedNationalNumber.startsWith(nationalPrefix)) {
1576 parse(normalizedNationalNumber.substring(nationalPrefix.length()), regionCode));
2246 String nationalPrefix = metadata.getNationalPrefix();
[all …]
DAsYouTypeFormatter.java555 String nationalPrefix = nationalNumber.substring(0, startOfNationalNumber); in removeNationalPrefixFromNationalNumber() local
557 return nationalPrefix; in removeNationalPrefixFromNationalNumber()