Lines Matching refs:US_NUMBER
182 var US_NUMBER = new i18n.phonenumbers.PhoneNumber(); variable
183 US_NUMBER.setCountryCode(1);
184 US_NUMBER.setNationalNumber(6502530000);
361 assertEquals(3, phoneUtil.getLengthOfGeographicalAreaCode(US_NUMBER));
396 assertEquals(3, phoneUtil.getLengthOfNationalDestinationCode(US_NUMBER));
520 assertEquals('6502530000', phoneUtil.getNationalSignificantNumber(US_NUMBER));
654 assertEquals('650 253 0000', phoneUtil.format(US_NUMBER, PNF.NATIONAL));
656 '+1 650 253 0000', phoneUtil.format(US_NUMBER, PNF.INTERNATIONAL));
814 phoneUtil.formatOutOfCountryCallingNumber(US_NUMBER, RegionCode.BS));
818 phoneUtil.formatOutOfCountryCallingNumber(US_NUMBER, RegionCode.PL));
880 phoneUtil.formatOutOfCountryCallingNumber(US_NUMBER, RegionCode.AQ));
885 phoneUtil.formatOutOfCountryCallingNumber(US_NUMBER, RegionCode.UN001));
1048 phoneUtil.formatNationalNumberWithCarrierCode(US_NUMBER, '15'));
1134 phoneUtil.formatNumberForMobileDialing(US_NUMBER, RegionCode.US, true));
1136 var usNumberWithExtn = US_NUMBER.clone();
1153 phoneUtil.formatNumberForMobileDialing(US_NUMBER, RegionCode.US, false));
1249 phoneUtil.formatNumberForMobileDialing(US_NUMBER, RegionCode.US, false));
1252 phoneUtil.formatNumberForMobileDialing(US_NUMBER, RegionCode.CA, false));
1255 phoneUtil.formatNumberForMobileDialing(US_NUMBER, RegionCode.BR, false));
1297 phoneUtil.formatByPattern(US_NUMBER, PNF.NATIONAL, [newNumFormat]));
1300 phoneUtil.formatByPattern(US_NUMBER, PNF.INTERNATIONAL, [newNumFormat]));
1303 phoneUtil.formatByPattern(US_NUMBER, PNF.RFC3966, [newNumFormat]));
1350 assertEquals('+16502530000', phoneUtil.format(US_NUMBER, PNF.E164));
1369 var usNumberWithExtension = US_NUMBER.clone();
1653 assertEquals(PNT.FIXED_LINE_OR_MOBILE, phoneUtil.getNumberType(US_NUMBER));
1698 assertTrue(phoneUtil.isValidNumber(US_NUMBER));
1814 assertEquals(RegionCode.US, phoneUtil.getRegionCodeForNumber(US_NUMBER));
1876 assertTrue(phoneUtil.isPossibleNumber(US_NUMBER));
2003 assertEquals(VR.IS_POSSIBLE, phoneUtil.isPossibleNumberWithReason(US_NUMBER));
2352 assertTrue(US_NUMBER.equals(tooLongNumber));
2925 US_NUMBER.equals(phoneUtil.parse('+1 (650) 253-0000', RegionCode.NZ)));
2929 US_NUMBER.equals(phoneUtil.parse('1-650-253-0000', RegionCode.US)));
2933 US_NUMBER.equals(phoneUtil.parse('0011-650-253-0000', RegionCode.SG)));
2936 US_NUMBER.equals(phoneUtil.parse('0081-650-253-0000', RegionCode.SG)));
2939 US_NUMBER.equals(phoneUtil.parse('0191-650-253-0000', RegionCode.SG)));
2942 US_NUMBER.equals(phoneUtil.parse('0~01-650-253-0000', RegionCode.PL)));
2945 US_NUMBER.equals(phoneUtil.parse('++1 (650) 253-0000', RegionCode.PL)));
2950 assertTrue(US_NUMBER.equals(
2953 assertTrue(US_NUMBER.equals(
2957 assertTrue(US_NUMBER.equals(phoneUtil.parse(
2962 assertTrue(US_NUMBER.equals(phoneUtil.parse(
3806 phoneUtil.formatOutOfCountryCallingNumber(US_NUMBER, RegionCode.AD));
4060 phoneUtil.isNumberMatch(US_NUMBER, '1-650-253-0000'));
4063 phoneUtil.isNumberMatch(US_NUMBER, '6502530000'));
4162 assertTrue(phoneUtil.canBeInternationallyDialled(US_NUMBER));