Lines Matching refs:reNumber
1725 var reNumber = new i18n.phonenumbers.PhoneNumber();
1726 reNumber.setCountryCode(262);
1727 reNumber.setNationalNumber(262123456);
1728 assertTrue(phoneUtil.isValidNumber(reNumber));
1729 assertTrue(phoneUtil.isValidNumberForRegion(reNumber, RegionCode.RE));
1730 assertFalse(phoneUtil.isValidNumberForRegion(reNumber, RegionCode.YT));
1732 reNumber.setNationalNumber(269601234);
1733 assertTrue(phoneUtil.isValidNumberForRegion(reNumber, RegionCode.YT));
1734 assertFalse(phoneUtil.isValidNumberForRegion(reNumber, RegionCode.RE));
1736 reNumber.setNationalNumber(269123456);
1737 assertFalse(phoneUtil.isValidNumberForRegion(reNumber, RegionCode.YT));
1738 assertFalse(phoneUtil.isValidNumberForRegion(reNumber, RegionCode.RE));
1739 assertFalse(phoneUtil.isValidNumber(reNumber));
1742 assertEquals(RegionCode.YT, phoneUtil.getRegionCodeForNumber(reNumber));
1744 reNumber.setNationalNumber(800123456);
1745 assertTrue(phoneUtil.isValidNumberForRegion(reNumber, RegionCode.YT));
1746 assertTrue(phoneUtil.isValidNumberForRegion(reNumber, RegionCode.RE));