This patch contains following methods:
splitPhoneNumber(String phoneNumber, Delegator delegator):
It accepts a phoneNumber as a string and split the phoneNumber into countryCode, areaCode, and contactNumber. It returns a map which contains countryCode, areaCode, and contactNumber.
isValidPhoneNumber(String phoneNumber, Delegator delegator):
It returns true if parsed number is valid, or the number is either a possible fully-qualified number (containing the area code and country code), or if the number could be a possible local number (with a country code, but missing an area code).