Property | Type | Description | |
---|---|---|---|
VALID_START_CHAR_PATTERN |
Method | Description | |
---|---|---|
CanBeInternationallyDialled ( |
||
ConvertAlphaCharactersInNumber ( String number ) : String | ||
ExtractPossibleNumber ( String number ) : String | ||
FindNumbers ( String text, String defaultRegion ) : IEnumerable |
||
FindNumbers ( String text, String defaultRegion, Leniency leniency, long maxTries ) : IEnumerable |
||
Format ( |
||
Format ( |
||
FormatByPattern ( |
||
FormatInOriginalFormat ( |
||
FormatNationalNumberWithCarrierCode ( |
||
FormatNationalNumberWithPreferredCarrierCode ( |
||
FormatNumberForMobileDialing ( |
||
FormatOutOfCountryCallingNumber ( |
||
FormatOutOfCountryKeepingAlphaChars ( |
||
GetAsYouTypeFormatter ( String regionCode ) : |
||
GetCountryCodeForRegion ( String regionCode ) : int | ||
GetExampleNumber ( String regionCode ) : |
||
GetExampleNumberForNonGeoEntity ( int countryCallingCode ) : |
||
GetExampleNumberForType ( String regionCode, PhoneNumberType type ) : |
||
GetInstance ( ) : |
||
GetInstance ( String baseFileLocation, Dictionary |
||
GetLengthOfGeographicalAreaCode ( |
||
GetLengthOfNationalDestinationCode ( |
||
GetMetadataForNonGeographicalRegion ( int countryCallingCode ) : |
||
GetMetadataForRegion ( String regionCode ) : |
||
GetNationalSignificantNumber ( |
||
GetNddPrefixForRegion ( String regionCode, bool stripNonDigits ) : String | ||
GetNumberType ( |
||
GetRegionCodeForCountryCode ( int countryCallingCode ) : String | ||
GetRegionCodeForNumber ( |
||
GetSupportedGlobalNetworkCallingCodes ( ) : PhoneMetadata>.KeyCollection.Dictionary |
||
GetSupportedRegions ( ) : HashSet |
||
IsAlphaNumber ( String number ) : bool | ||
IsLeadingZeroPossible ( int countryCallingCode ) : bool | ||
IsNANPACountry ( String regionCode ) : bool | ||
IsNumberMatch ( |
||
IsNumberMatch ( |
||
IsNumberMatch ( String firstNumber, String secondNumber ) : MatchType | ||
IsPossibleNumber ( |
||
IsPossibleNumber ( String number, String regionDialingFrom ) : bool | ||
IsPossibleNumberWithReason ( |
||
IsValidNumber ( |
||
IsValidNumberForRegion ( |
||
IsViablePhoneNumber ( String number ) : bool | ||
MaybeExtractCountryCode ( String number, |
||
MaybeStripInternationalPrefixAndNormalize ( StringBuilder number, String possibleIddPrefix ) : PhoneNumbers.PhoneNumber.Types.CountryCodeSource | ||
MaybeStripNationalPrefixAndCarrierCode ( StringBuilder number, |
||
Normalize ( String number ) : String | ||
NormalizeDigitsOnly ( String number ) : String | ||
Parse ( String numberToParse, String defaultRegion ) : |
||
Parse ( String numberToParse, String defaultRegion, |
||
ParseAndKeepRawInput ( String numberToParse, String defaultRegion ) : |
||
ParseAndKeepRawInput ( String numberToParse, String defaultRegion, |
||
ResetInstance ( ) : void | ||
TruncateTooLongNumber ( |
||
Verify ( Leniency leniency, |
Method | Description | |
---|---|---|
AreEqual ( |
||
BuildNationalNumberForParsing ( String numberToParse, StringBuilder nationalNumber ) : void | ||
CheckRegionForParsing ( String numberToParse, String defaultRegion ) : bool | ||
ChooseFormattingPatternForNumber ( IList |
||
CreateExtnPattern ( String singleExtnSymbols ) : String | ||
ExtractCountryCode ( StringBuilder fullNumber, StringBuilder nationalNumber ) : int | ||
FormatNsn ( String number, |
||
FormatNsn ( String number, |
||
FormatNsnUsingPattern ( String nationalNumber, |
||
FormatNsnUsingPattern ( String nationalNumber, |
||
GetCountryCodeForValidRegion ( String regionCode ) : int | ||
GetMetadataForRegionOrCallingCode ( int countryCallingCode, String regionCode ) : |
||
GetNumberDescByType ( |
||
GetNumberTypeHelper ( String nationalNumber, |
||
GetRegionCodeForNumberFromRegionList ( |
||
HasFormattingPatternForNumber ( |
||
HasUnexpectedItalianLeadingZero ( |
||
HasValidCountryCallingCode ( int countryCallingCode ) : bool | ||
Init ( String filePrefix ) : void | ||
IsNationalNumberSuffixOfTheOther ( |
||
IsNumberMatchingDesc ( String nationalNumber, |
||
IsValidRegionCode ( String regionCode ) : bool | ||
LoadMetadataFromFile ( String filePrefix, String regionCode, int countryCallingCode ) : void | ||
MaybeAppendFormattedExtension ( |
||
MaybeStripExtension ( StringBuilder number ) : String | ||
Normalize ( StringBuilder number ) : void | ||
NormalizeDigits ( String number, bool keepNonDigits ) : StringBuilder | ||
NormalizeHelper ( String number, char>.Dictionary |
||
ParseHelper ( String numberToParse, String defaultRegion, bool keepRawInput, bool checkRegion, |
||
ParsePrefixAsIdd ( |
||
PhoneNumberUtil ( ) : System | ||
PrefixNumberWithCountryCallingCode ( int countryCallingCode, PhoneNumberFormat numberFormat, StringBuilder formattedNumber ) : void | ||
RawInputContainsNationalPrefix ( String rawInput, String nationalPrefix, String regionCode ) : bool | ||
TestNumberLengthAgainstPattern ( |
public CanBeInternationallyDialled ( |
||
number | ||
return | bool |
public static ConvertAlphaCharactersInNumber ( String number ) : String | ||
number | String | |
return | String |
public static ExtractPossibleNumber ( String number ) : String | ||
number | String | |
return | String |
public FindNumbers ( String text, String defaultRegion ) : IEnumerable |
||
text | String | |
defaultRegion | String | |
return | IEnumerable |
public FindNumbers ( String text, String defaultRegion, Leniency leniency, long maxTries ) : IEnumerable |
||
text | String | |
defaultRegion | String | |
leniency | Leniency | |
maxTries | long | |
return | IEnumerable |
public Format ( |
||
number | ||
numberFormat | PhoneNumberFormat | |
return | String |
public Format ( |
||
number | ||
numberFormat | PhoneNumberFormat | |
formattedNumber | StringBuilder | |
return | void |
public FormatByPattern ( |
||
number | ||
numberFormat | PhoneNumberFormat | |
userDefinedFormats | List |
|
return | String |
public FormatInOriginalFormat ( |
||
number | ||
regionCallingFrom | String | |
return | String |
public FormatNationalNumberWithCarrierCode ( |
||
number | ||
carrierCode | String | |
return | String |
public FormatNationalNumberWithPreferredCarrierCode ( |
||
number | ||
fallbackCarrierCode | String | |
return | String |
public FormatNumberForMobileDialing ( |
||
number | ||
regionCallingFrom | String | |
withFormatting | bool | |
return | String |
public FormatOutOfCountryCallingNumber ( |
||
number | ||
regionCallingFrom | String | |
return | String |
public FormatOutOfCountryKeepingAlphaChars ( |
||
number | ||
regionCallingFrom | String | |
return | String |
public GetAsYouTypeFormatter ( String regionCode ) : |
||
regionCode | String | |
return |
public GetCountryCodeForRegion ( String regionCode ) : int | ||
regionCode | String | |
return | int |
public GetExampleNumber ( String regionCode ) : |
||
regionCode | String | |
return |
public GetExampleNumberForNonGeoEntity ( int countryCallingCode ) : |
||
countryCallingCode | int | |
return |
public GetExampleNumberForType ( String regionCode, PhoneNumberType type ) : |
||
regionCode | String | |
type | PhoneNumberType | |
return |
public static GetInstance ( ) : |
||
return |
public static GetInstance ( String baseFileLocation, Dictionary |
||
baseFileLocation | String | |
countryCallingCodeToRegionCodeMap | Dictionary |
|
return |
public GetLengthOfGeographicalAreaCode ( |
||
number | ||
return | int |
public GetLengthOfNationalDestinationCode ( |
||
number | ||
return | int |
public GetMetadataForNonGeographicalRegion ( int countryCallingCode ) : |
||
countryCallingCode | int | |
return |
public GetMetadataForRegion ( String regionCode ) : |
||
regionCode | String | |
return |
public GetNationalSignificantNumber ( |
||
number | ||
return | String |
public GetNddPrefixForRegion ( String regionCode, bool stripNonDigits ) : String | ||
regionCode | String | |
stripNonDigits | bool | |
return | String |
public GetNumberType ( |
||
number | ||
return | PhoneNumberType |
public GetRegionCodeForCountryCode ( int countryCallingCode ) : String | ||
countryCallingCode | int | |
return | String |
public GetRegionCodeForNumber ( |
||
number | ||
return | String |
public GetSupportedGlobalNetworkCallingCodes ( ) : PhoneMetadata>.KeyCollection.Dictionary |
||
return | PhoneMetadata>.KeyCollection.Dictionary |
public IsAlphaNumber ( String number ) : bool | ||
number | String | |
return | bool |
public IsLeadingZeroPossible ( int countryCallingCode ) : bool | ||
countryCallingCode | int | |
return | bool |
public IsNANPACountry ( String regionCode ) : bool | ||
regionCode | String | |
return | bool |
public IsNumberMatch ( |
||
firstNumberIn | ||
secondNumberIn | ||
return | MatchType |
public IsNumberMatch ( |
||
firstNumber | ||
secondNumber | String | |
return | MatchType |
public IsNumberMatch ( String firstNumber, String secondNumber ) : MatchType | ||
firstNumber | String | |
secondNumber | String | |
return | MatchType |
public IsPossibleNumber ( |
||
number | ||
return | bool |
public IsPossibleNumber ( String number, String regionDialingFrom ) : bool | ||
number | String | |
regionDialingFrom | String | |
return | bool |
public IsPossibleNumberWithReason ( |
||
number | ||
return | ValidationResult |
public IsValidNumber ( |
||
number | ||
return | bool |
public IsValidNumberForRegion ( |
||
number | ||
regionCode | String | |
return | bool |
public static IsViablePhoneNumber ( String number ) : bool | ||
number | String | |
return | bool |
public MaybeExtractCountryCode ( String number, |
||
number | String | |
defaultRegionMetadata | ||
nationalNumber | StringBuilder | |
keepRawInput | bool | |
phoneNumber | ||
return | int |
public MaybeStripInternationalPrefixAndNormalize ( StringBuilder number, String possibleIddPrefix ) : PhoneNumbers.PhoneNumber.Types.CountryCodeSource | ||
number | StringBuilder | |
possibleIddPrefix | String | |
return | PhoneNumbers.PhoneNumber.Types.CountryCodeSource |
public MaybeStripNationalPrefixAndCarrierCode ( StringBuilder number, |
||
number | StringBuilder | |
metadata | ||
carrierCode | StringBuilder | |
return | bool |
public static Normalize ( String number ) : String | ||
number | String | |
return | String |
public static NormalizeDigitsOnly ( String number ) : String | ||
number | String | |
return | String |
public Parse ( String numberToParse, String defaultRegion ) : |
||
numberToParse | String | |
defaultRegion | String | |
return |
public Parse ( String numberToParse, String defaultRegion, |
||
numberToParse | String | |
defaultRegion | String | |
phoneNumber | ||
return | void |
public ParseAndKeepRawInput ( String numberToParse, String defaultRegion ) : |
||
numberToParse | String | |
defaultRegion | String | |
return |
public ParseAndKeepRawInput ( String numberToParse, String defaultRegion, |
||
numberToParse | String | |
defaultRegion | String | |
phoneNumber | ||
return | void |
public TruncateTooLongNumber ( |
||
number | ||
return | bool |
public Verify ( Leniency leniency, |
||
leniency | Leniency | |
number | ||
candidate | String | |
util | ||
return | bool |