Home
last modified time | relevance | path

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

/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberUtilTest.java1002 assertEquals("+44 20 8765 4321", phoneUtil.formatInOriginalFormat(number1, RegionCode.GB)); in testFormatInOriginalFormat()
1005 assertEquals("(020) 8765 4321", phoneUtil.formatInOriginalFormat(number2, RegionCode.GB)); in testFormatInOriginalFormat()
1008 assertEquals("011 44 20 8765 4321", phoneUtil.formatInOriginalFormat(number3, RegionCode.US)); in testFormatInOriginalFormat()
1011 assertEquals("44 20 8765 4321", phoneUtil.formatInOriginalFormat(number4, RegionCode.GB)); in testFormatInOriginalFormat()
1014 assertEquals("(020) 8765 4321", phoneUtil.formatInOriginalFormat(number5, RegionCode.GB)); in testFormatInOriginalFormat()
1019 assertEquals("734 567 8901", phoneUtil.formatInOriginalFormat(number6, RegionCode.US)); in testFormatInOriginalFormat()
1024 assertEquals("0734567 8901", phoneUtil.formatInOriginalFormat(number7, RegionCode.US)); in testFormatInOriginalFormat()
1029 assertEquals("02-4567-8900", phoneUtil.formatInOriginalFormat(number8, RegionCode.KR)); in testFormatInOriginalFormat()
1032 assertEquals("011 800 1234 5678", phoneUtil.formatInOriginalFormat(number9, RegionCode.US)); in testFormatInOriginalFormat()
1035 assertEquals("+800 1234 5678", phoneUtil.formatInOriginalFormat(number10, RegionCode.KR)); in testFormatInOriginalFormat()
[all …]
/third_party/libphonenumber/javascript/i18n/phonenumbers/
Dphonenumberutil_test.js1381 phoneUtil.formatInOriginalFormat(number1, RegionCode.GB));
1387 phoneUtil.formatInOriginalFormat(number2, RegionCode.GB));
1394 phoneUtil.formatInOriginalFormat(number3, RegionCode.US));
1400 phoneUtil.formatInOriginalFormat(number4, RegionCode.GB));
1406 phoneUtil.formatInOriginalFormat(number5, RegionCode.GB));
1414 '734 567 8901', phoneUtil.formatInOriginalFormat(number6, RegionCode.US));
1421 '0734567 8901', phoneUtil.formatInOriginalFormat(number7, RegionCode.US));
1428 '02-4567-8900', phoneUtil.formatInOriginalFormat(number8, RegionCode.KR));
1434 phoneUtil.formatInOriginalFormat(number9, RegionCode.US));
1440 phoneUtil.formatInOriginalFormat(number10, RegionCode.KR));
[all …]
Ddemo.js128 output.append(phoneUtil_.formatInOriginalFormat(number, regionCode));
Dphonenumberutil.js2192 i18n.phonenumbers.PhoneNumberUtil.prototype.formatInOriginalFormat = method in i18n.phonenumbers.PhoneNumberUtil
/third_party/libphonenumber/java/demo/src/com/google/phonenumbers/
DPhoneNumberParserServlet.java164 isNumberValid ? phoneUtil.formatInOriginalFormat(number, defaultCountry) : "invalid"; in getOutputForFile()
355 "Original format", phoneUtil.formatInOriginalFormat(number, defaultCountry), output); in getOutputForSingleNumber()
/third_party/libphonenumber/
Drelease_notes.txt1452 have formatting applied in formatInOriginalFormat, and
2395 - formatInOriginalFormat fixed not to add a star sign if it was not present originally.
2474 - Modify formatInOriginalFormat to not insert/remove/modify digits in the original number passed
2488 - Change formatInOriginalFormat to use raw_input for numbers with incorrect leading zeroes, instead
2500 - Modify formatInOriginalFormat to use the raw input if we don't have a formatting pattern for a
2526 - Modify formatInOriginalFormat to use raw_input (when present) when the number is considered as
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
DPhoneNumberUtil.java1632 public String formatInOriginalFormat(PhoneNumber number, String regionCallingFrom) {