Home
last modified time | relevance | path

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

/third_party/libphonenumber/javascript/i18n/phonenumbers/
Dphonenumberutil_test.js1359 var nzNumber = NZ_NUMBER.clone();
1360 nzNumber.setExtension('1234');
1363 '03-331 6005 ext. 1234', phoneUtil.format(nzNumber, PNF.NATIONAL));
1366 'tel:+64-3-331-6005;ext=1234', phoneUtil.format(nzNumber, PNF.RFC3966));
1705 var nzNumber = new i18n.phonenumbers.PhoneNumber();
1706 nzNumber.setCountryCode(64);
1707 nzNumber.setNationalNumber(21387835);
1708 assertTrue(phoneUtil.isValidNumber(nzNumber));
2823 var nzNumber = new i18n.phonenumbers.PhoneNumber();
2824 nzNumber.setCountryCode(64);
[all …]
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberUtilTest.java988 PhoneNumber nzNumber = new PhoneNumber().mergeFrom(NZ_NUMBER).setExtension("1234"); in testFormatNumberWithExtension() local
990 assertEquals("03-331 6005 ext. 1234", phoneUtil.format(nzNumber, PhoneNumberFormat.NATIONAL)); in testFormatNumberWithExtension()
993 phoneUtil.format(nzNumber, PhoneNumberFormat.RFC3966)); in testFormatNumberWithExtension()
1219 PhoneNumber nzNumber = new PhoneNumber().setCountryCode(64).setNationalNumber(21387835L); in testIsValidNumber() local
1220 assertTrue(phoneUtil.isValidNumber(nzNumber)); in testIsValidNumber()
2128 PhoneNumber nzNumber = new PhoneNumber(); in testParseNationalNumber() local
2129 nzNumber.setCountryCode(64).setNationalNumber(64123456L); in testParseNationalNumber()
2130 assertEquals(nzNumber, phoneUtil.parse("64(0)64123456", RegionCode.NZ)); in testParseNationalNumber()
2605 PhoneNumber nzNumber = new PhoneNumber(); in testParseExtensions() local
2606 nzNumber.setCountryCode(64).setNationalNumber(33316005L).setExtension("3456"); in testParseExtensions()
[all …]