• Home
  • Raw
  • Download

Lines Matching refs:nzNumber

1359   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);
2825 nzNumber.setNationalNumber(64123456);
2826 assertTrue(nzNumber.equals(phoneUtil.parse('64(0)64123456', RegionCode.NZ)));
3410 var nzNumber = new i18n.phonenumbers.PhoneNumber();
3411 nzNumber.setCountryCode(64);
3412 nzNumber.setNationalNumber(33316005);
3413 nzNumber.setExtension('3456');
3415 nzNumber.equals(phoneUtil.parse('03 331 6005 ext 3456', RegionCode.NZ)));
3417 nzNumber.equals(phoneUtil.parse('03-3316005x3456', RegionCode.NZ)));
3419 nzNumber.equals(phoneUtil.parse('03-3316005 int.3456', RegionCode.NZ)));
3421 nzNumber.equals(phoneUtil.parse('03 3316005 #3456', RegionCode.NZ)));
3557 var nzNumber = new i18n.phonenumbers.PhoneNumber();
3558 nzNumber.setCountryCode(64);
3559 nzNumber.setNationalNumber(33316005);
3562 nzNumber.setExtension('0');
3563 assertTrue(nzNumber.equals(
3565 nzNumber.setExtension('01234567890123456789');
3566 assertTrue(nzNumber.equals(
3582 nzNumber.setExtension('1');
3583 assertTrue(nzNumber.equals(
3585 nzNumber.setExtension('12345678901234567890');
3586 assertTrue(nzNumber.equals(
3588 assertTrue(nzNumber.equals(
3590 assertTrue(nzNumber.equals(
3592 assertTrue(nzNumber.equals(
3594 assertTrue(nzNumber.equals(
3596 assertTrue(nzNumber.equals(
3644 var nzNumber = new i18n.phonenumbers.PhoneNumber();
3645 nzNumber.setCountryCode(64);
3646 nzNumber.setNationalNumber(33316005);
3650 nzNumber.setExtension("123456789");
3651 assertTrue(nzNumber.equals(
3653 assertTrue(nzNumber.equals(
3655 assertTrue(nzNumber.equals(
3657 assertTrue(nzNumber.equals(
3871 var nzNumber = NZ_NUMBER.clone();
3872 nzNumber.setExtension('3456');
3875 phoneUtil.isNumberMatch(nzNumber, '+643 331 6005 ext 3456'));
3877 nzNumber.setExtension('');
3880 phoneUtil.isNumberMatch(nzNumber, '+6403 331 6005'));
3885 phoneUtil.isNumberMatch(nzNumber, NZ_NUMBER));