Home
last modified time | relevance | path

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

/third_party/libphonenumber/javascript/i18n/phonenumbers/
Dphonenumberutil_test.js696 var deNumber = new i18n.phonenumbers.PhoneNumber();
697 deNumber.setCountryCode(49);
698 deNumber.setNationalNumber(301234);
699 assertEquals('030/1234', phoneUtil.format(deNumber, PNF.NATIONAL));
700 assertEquals('+49 30/1234', phoneUtil.format(deNumber, PNF.INTERNATIONAL));
701 assertEquals('tel:+49-30-1234', phoneUtil.format(deNumber, PNF.RFC3966));
703 deNumber = new i18n.phonenumbers.PhoneNumber();
704 deNumber.setCountryCode(49);
705 deNumber.setNationalNumber(291123);
706 assertEquals('0291 123', phoneUtil.format(deNumber, PNF.NATIONAL));
[all …]
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberUtilTest.java521 PhoneNumber deNumber = new PhoneNumber(); in testFormatDENumber() local
522 deNumber.setCountryCode(49).setNationalNumber(301234L); in testFormatDENumber()
523 assertEquals("030/1234", phoneUtil.format(deNumber, PhoneNumberFormat.NATIONAL)); in testFormatDENumber()
524 assertEquals("+49 30/1234", phoneUtil.format(deNumber, PhoneNumberFormat.INTERNATIONAL)); in testFormatDENumber()
525 assertEquals("tel:+49-30-1234", phoneUtil.format(deNumber, PhoneNumberFormat.RFC3966)); in testFormatDENumber()
527 deNumber.clear(); in testFormatDENumber()
528 deNumber.setCountryCode(49).setNationalNumber(291123L); in testFormatDENumber()
529 assertEquals("0291 123", phoneUtil.format(deNumber, PhoneNumberFormat.NATIONAL)); in testFormatDENumber()
530 assertEquals("+49 291 123", phoneUtil.format(deNumber, PhoneNumberFormat.INTERNATIONAL)); in testFormatDENumber()
532 deNumber.clear(); in testFormatDENumber()
[all …]