Component LibPhonenumber-for-Delphi

FireWind

Moderator
Регистрация
2 Дек 2005
Сообщения
1,957
Реакции
1,190
Credits
3,495
LibPhonenumber-for-Delphi
Delphi-wrapper for the Для просмотра ссылки Войди или Зарегистрируйся of Google's Для просмотра ссылки Войди или Зарегистрируйся. LibPhonenumber - Google's common Java, C++ and JavaScript library for parsing, formatting, and validating international phone numbers. The Java version is optimized for running on smartphones, and is used by the Android framework since 4.0 (Ice Cream Sandwich). Support for Delphi 32 bit and 64 bit. Minimum requirement .NET Framework 4.5.2.
  • Parsing, formatting, and validating phone numbers for all countries/regions of the world.
  • getNumberType - gets the type of the number based on the number itself; able to distinguish Fixed-line, Mobile, Toll-free, Premium Rate, Shared Cost, VoIP, Personal Numbers, UAN, Pager, and Voicemail (whenever feasible).
  • isNumberMatch - gets a confidence level on whether two numbers could be the same.
  • getExampleNumber and getExampleNumberForType - provide valid example numbers for all countries/regions, with the option of specifying which type of example phone number is needed.
  • isPossibleNumber - quickly guesses whether a number is a possible phone number by using only the length information, much faster than a full validation.
  • isValidNumber - full validation of a phone number for a region using length and prefix information.
  • AsYouTypeFormatter - formats phone numbers on-the-fly when users enter each digit.
  • findNumbers - finds numbers in text.
  • PhoneNumberOfflineGeocoder - provides geographical information related to a phone number.
  • PhoneNumberToCarrierMapper - provides carrier information related to a phone number.
  • PhoneNumberToTimeZonesMapper - provides timezone information related to a phone number.
Код:
var parsedNumber : String := TLibPhoneNumber.Parse('01511234567','DE');
Для просмотра ссылки Войди или Зарегистрируйся
 
Последнее редактирование:

FireWind

Moderator
Регистрация
2 Дек 2005
Сообщения
1,957
Реакции
1,190
Credits
3,495
LibPhonenumber-for-Delphi v8.12.11
Metadata changes:
  • Updated phone metadata for region code(s): CL, DE, FR, GQ, IL, IR, KG, KW, MU, NG, PW, SN, TZ
  • Updated carrier data for country calling code(s): 7 (en), 33 (en), 221 (en), 230 (en), 234 (en), 240 (en), 255 (en), 680 (en), 886 (en), 972 (en)
Для просмотра ссылки Войди или Зарегистрируйся