Lines Matching refs:usNumber
1093 var usNumber = new i18n.phonenumbers.PhoneNumber();
1094 usNumber.setCountryCode(1);
1095 usNumber.setNationalNumber(4241231234);
1096 usNumber.setPreferredDomesticCarrierCode('99');
1097 assertEquals('424 123 1234', phoneUtil.format(usNumber, PNF.NATIONAL));
1100 phoneUtil.formatNationalNumberWithPreferredCarrierCode(usNumber, '15'));
2831 var usNumber = new i18n.phonenumbers.PhoneNumber();
2834 usNumber.setCountryCode(1);
2835 usNumber.setNationalNumber(1234567890);
2836 assertTrue(usNumber.equals(phoneUtil.parse('123-456-7890', RegionCode.US)));
3676 var usNumber = new i18n.phonenumbers.PhoneNumber();
3677 usNumber.setCountryCode(1);
3678 usNumber.setNationalNumber(1234567890);
3679 usNumber.setExtension('666666');
3680 assertTrue(usNumber.equals(
3682 usNumber.setExtension('6');
3683 assertTrue(usNumber.equals(