Lines Matching refs:formattedNumber
1090 StringBuilder formattedNumber = new StringBuilder(20);
1091 format(number, numberFormat, formattedNumber);
1092 return formattedNumber.toString();
1100 StringBuilder formattedNumber) {
1102 formattedNumber.setLength(0);
1108 formattedNumber.append(nationalSignificantNumber);
1110 formattedNumber);
1118 formattedNumber.append(nationalSignificantNumber);
1124 formattedNumber.append(formatNsn(nationalSignificantNumber, metadata, numberFormat));
1125 maybeAppendFormattedExtension(number, metadata, numberFormat, formattedNumber);
1126 prefixNumberWithCountryCallingCode(countryCallingCode, numberFormat, formattedNumber);
1155 StringBuilder formattedNumber = new StringBuilder(20);
1161 formattedNumber.append(nationalSignificantNumber);
1183 formattedNumber.append(
1186 maybeAppendFormattedExtension(number, metadata, numberFormat, formattedNumber);
1187 prefixNumberWithCountryCallingCode(countryCallingCode, numberFormat, formattedNumber);
1188 return formattedNumber.toString();
1213 StringBuilder formattedNumber = new StringBuilder(20);
1215 formattedNumber.append(formatNsn(nationalSignificantNumber, metadata,
1217 maybeAppendFormattedExtension(number, metadata, PhoneNumberFormat.NATIONAL, formattedNumber);
1219 formattedNumber);
1220 return formattedNumber.toString();
1273 String formattedNumber;
1280 formattedNumber =
1284 formattedNumber = format(numberNoExt, PhoneNumberFormat.NATIONAL);
1289 formattedNumber = format(numberNoExt, PhoneNumberFormat.NATIONAL);
1293 formattedNumber = numberNoExt.hasPreferredDomesticCarrierCode()
1303 formattedNumber = (regionCallingFrom.equals(regionCode))
1306 return withFormatting ? formattedNumber
1307 : normalizeHelper(formattedNumber, DIALLABLE_CHAR_MAPPINGS,
1375 StringBuilder formattedNumber = new StringBuilder(formattedNationalNumber);
1377 formattedNumber);
1379 formattedNumber.insert(0, " ").insert(0, countryCallingCode).insert(0, " ")
1384 formattedNumber);
1386 return formattedNumber.toString();
1415 String formattedNumber;
1418 formattedNumber = format(number, PhoneNumberFormat.INTERNATIONAL);
1421 formattedNumber = formatOutOfCountryCallingNumber(number, regionCallingFrom);
1424 formattedNumber = format(number, PhoneNumberFormat.INTERNATIONAL).substring(1);
1437 formattedNumber = nationalFormat;
1444 formattedNumber = nationalFormat;
1458 formattedNumber = nationalFormat;
1466 formattedNumber = nationalFormat;
1475 formattedNumber = formatByPattern(number, PhoneNumberFormat.NATIONAL, numberFormats);
1481 return (formattedNumber != null &&
1482 normalizeDigitsOnly(formattedNumber).equals(normalizeDigitsOnly(rawInput)))
1483 ? formattedNumber
1619 StringBuilder formattedNumber = new StringBuilder(rawInput);
1623 PhoneNumberFormat.INTERNATIONAL, formattedNumber);
1625 formattedNumber.insert(0, " ").insert(0, countryCode).insert(0, " ")
1636 formattedNumber);
1638 return formattedNumber.toString();
1660 StringBuilder formattedNumber) {
1663 formattedNumber.insert(0, countryCallingCode).insert(0, PLUS_SIGN);
1666 formattedNumber.insert(0, " ").insert(0, countryCallingCode).insert(0, PLUS_SIGN);
1669 formattedNumber.insert(0, "-").insert(0, countryCallingCode).insert(0, PLUS_SIGN)
1840 * Appends the formatted extension of a phone number to formattedNumber, if the phone number had
1845 StringBuilder formattedNumber) {
1848 formattedNumber.append(RFC3966_EXTN_PREFIX).append(number.getExtension());
1851 formattedNumber.append(metadata.getPreferredExtnPrefix()).append(number.getExtension());
1853 formattedNumber.append(DEFAULT_EXTN_PREFIX).append(number.getExtension());