phonelib 0.5.4 → 0.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +12 -10
- data/data/extended_data.dat +0 -0
- data/data/libphonenumber/CONTRIBUTING.md +46 -0
- data/data/libphonenumber/README.md +5 -6
- data/data/libphonenumber/cpp/src/phonenumbers/alternate_format.cc +762 -823
- data/data/libphonenumber/cpp/src/phonenumbers/lite_metadata.cc +10308 -10564
- data/data/libphonenumber/cpp/src/phonenumbers/metadata.cc +11016 -11267
- data/data/libphonenumber/cpp/src/phonenumbers/short_metadata.cc +2654 -2589
- data/data/libphonenumber/cpp/src/phonenumbers/test_metadata.cc +722 -747
- data/data/libphonenumber/java/build.xml +4 -0
- data/data/libphonenumber/java/carrier/pom.xml +4 -4
- data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/216_en +0 -0
- data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/251_en +0 -0
- data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/257_en +0 -0
- data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/354_en +0 -0
- data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/357_en +0 -0
- data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/421_en +0 -0
- data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/45_en +0 -0
- data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/506_en +0 -0
- data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/599_en +0 -0
- data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/61_en +0 -0
- data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/686_en +0 -0
- data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/853_en +0 -0
- data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/964_en +0 -0
- data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/972_en +0 -0
- data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/975_en +0 -0
- data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/976_en +0 -0
- data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/config +0 -0
- data/data/libphonenumber/java/demo/pom.xml +10 -5
- data/data/libphonenumber/java/demo/src/com/google/phonenumbers/PhoneNumberParserServlet.java +169 -34
- data/data/libphonenumber/java/demo/war/WEB-INF/lib/commons-lang-2.6.jar +0 -0
- data/data/libphonenumber/java/geocoder/pom.xml +4 -4
- data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/688_en +0 -0
- data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/95_en +0 -0
- data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/972_en +0 -0
- data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/975_en +0 -0
- data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/config +0 -0
- data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/timezones/data/map_data +0 -0
- data/data/libphonenumber/java/internal/prefixmapper/pom.xml +3 -3
- data/data/libphonenumber/java/lib/com/google/protobuf/protobuf-java/2.6.1/protobuf-java-2.6.1.jar +0 -0
- data/data/libphonenumber/java/lib/com/google/protobuf/protobuf-java/2.6.1/protobuf-java-2.6.1.pom +9 -0
- data/data/libphonenumber/java/lib/com/google/protobuf/protobuf-java/maven-metadata-local.xml +12 -0
- data/data/libphonenumber/java/libphonenumber/pom.xml +30 -9
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/AsYouTypeFormatter.java +31 -28
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/MetadataManager.java +29 -9
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/MetadataSource.java +1 -1
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/MultiFileMetadataSourceImpl.java +14 -11
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberMatcher.java +8 -8
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java +109 -93
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/ShortNumberInfo.java +28 -29
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/SingleFileMetadataSourceImpl.java +14 -10
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_255 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_27 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_30 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_31 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_34 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_350 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_351 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_352 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_358 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_359 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_36 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_372 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_373 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_380 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_381 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_385 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_43 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_44 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_49 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_505 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_506 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_54 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_55 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_58 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_595 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_61 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_62 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_63 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_66 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_675 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_676 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_679 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_7 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_81 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_84 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_855 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_90 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_91 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_94 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_95 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_971 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_972 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberAlternateFormatsProto_995 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_800 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_808 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_870 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_878 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_881 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_882 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_883 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_888 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_979 +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_AC +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_AD +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_AE +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_AF +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_AG +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_AI +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_AL +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_AM +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_AO +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_AR +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_AS +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_AT +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_AU +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_AW +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_AX +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_AZ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BA +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BB +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BD +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BE +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BF +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BG +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BH +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BI +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BJ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BL +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BM +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BN +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BO +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BQ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BR +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BS +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BT +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BW +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BY +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BZ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_CA +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_CC +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_CD +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_CF +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_CG +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_CH +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_CI +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_CK +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_CL +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_CM +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_CN +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_CO +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_CR +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_CU +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_CV +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_CW +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_CX +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_CY +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_CZ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_DE +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_DJ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_DK +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_DM +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_DO +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_DZ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_EC +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_EE +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_EG +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_EH +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_ER +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_ES +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_ET +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_FI +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_FJ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_FK +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_FM +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_FO +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_FR +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_GA +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_GB +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_GD +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_GE +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_GF +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_GG +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_GH +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_GI +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_GL +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_GM +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_GN +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_GP +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_GQ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_GR +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_GT +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_GU +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_GW +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_GY +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_HK +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_HN +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_HR +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_HT +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_HU +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_ID +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_IE +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_IL +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_IM +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_IN +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_IO +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_IQ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_IR +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_IS +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_IT +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_JE +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_JM +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_JO +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_JP +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_KE +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_KG +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_KH +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_KI +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_KM +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_KN +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_KP +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_KR +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_KW +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_KY +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_KZ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_LA +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_LB +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_LC +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_LI +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_LK +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_LR +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_LS +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_LT +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_LU +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_LV +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_LY +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MA +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MC +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MD +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_ME +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MF +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MG +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MH +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MK +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_ML +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MM +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MN +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MO +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MP +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MQ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MR +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MS +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MT +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MU +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MV +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MW +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MX +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MY +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MZ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_NA +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_NC +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_NE +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_NF +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_NG +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_NI +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_NL +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_NO +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_NP +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_NR +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_NU +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_NZ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_OM +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_PA +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_PE +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_PF +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_PG +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_PH +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_PK +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_PL +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_PM +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_PR +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_PS +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_PT +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_PW +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_PY +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_QA +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_RE +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_RO +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_RS +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_RU +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_RW +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_SA +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_SB +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_SC +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_SD +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_SE +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_SG +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_SH +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_SI +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_SJ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_SK +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_SL +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_SM +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_SN +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_SO +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_SR +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_SS +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_ST +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_SV +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_SX +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_SY +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_SZ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_TA +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_TC +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_TD +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_TG +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_TH +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_TJ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_TK +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_TL +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_TM +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_TN +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_TO +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_TR +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_TT +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_TV +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_TW +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_TZ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_UA +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_UG +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_US +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_UY +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_UZ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_VA +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_VC +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_VE +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_VG +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_VI +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_VN +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_VU +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_WF +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_WS +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_YE +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_YT +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_ZA +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_ZM +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_ZW +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_AC +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_AD +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_AE +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_AF +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_AG +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_AI +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_AL +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_AM +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_AO +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_AR +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_AS +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_AT +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_AU +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_AW +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_AX +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_AZ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_BA +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_BB +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_BD +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_BE +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_BF +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_BG +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_BH +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_BI +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_BJ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_BL +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_BM +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_BN +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_BO +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_BQ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_BR +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_BS +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_BT +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_BW +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_BY +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_BZ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_CA +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_CC +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_CD +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_CF +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_CG +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_CH +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_CI +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_CK +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_CL +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_CM +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_CN +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_CO +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_CR +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_CU +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_CV +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_CW +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_CX +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_CY +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_CZ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_DE +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_DJ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_DK +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_DM +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_DO +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_DZ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_EC +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_EE +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_EG +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_EH +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_ER +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_ES +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_ET +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_FI +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_FJ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_FK +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_FM +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_FO +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_FR +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_GA +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_GB +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_GD +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_GE +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_GF +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_GG +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_GH +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_GI +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_GL +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_GM +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_GN +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_GP +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_GR +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_GT +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_GU +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_GW +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_GY +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_HK +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_HN +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_HR +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_HT +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_HU +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_ID +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_IE +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_IL +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_IM +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_IN +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_IQ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_IR +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_IS +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_IT +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_JE +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_JM +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_JO +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_JP +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_KE +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_KG +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_KH +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_KI +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_KM +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_KN +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_KP +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_KR +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_KW +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_KY +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_KZ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_LA +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_LB +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_LC +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_LI +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_LK +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_LR +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_LS +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_LT +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_LU +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_LV +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_LY +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_MA +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_MC +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_MD +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_ME +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_MF +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_MG +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_MH +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_MK +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_ML +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_MM +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_MN +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_MO +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_MP +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_MQ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_MR +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_MS +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_MT +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_MU +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_MV +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_MW +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_MX +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_MY +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_MZ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_NA +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_NC +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_NE +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_NF +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_NG +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_NI +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_NL +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_NO +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_NP +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_NR +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_NU +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_NZ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_OM +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_PA +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_PE +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_PF +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_PG +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_PH +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_PK +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_PL +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_PM +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_PR +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_PT +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_PW +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_PY +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_QA +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_RE +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_RO +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_RS +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_RU +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_RW +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_SA +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_SB +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_SC +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_SD +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_SE +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_SG +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_SH +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_SI +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_SJ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_SK +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_SL +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_SM +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_SN +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_SO +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_SR +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_ST +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_SV +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_SX +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_SY +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_SZ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_TC +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_TD +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_TG +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_TH +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_TJ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_TL +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_TM +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_TN +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_TO +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_TR +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_TT +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_TV +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_TW +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_TZ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_UA +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_UG +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_US +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_UY +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_UZ +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_VA +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_VC +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_VE +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_VG +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_VI +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_VN +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_VU +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_WF +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_WS +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_YE +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_YT +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_ZA +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_ZM +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_ZW +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/SingleFilePhoneNumberMetadataProto +0 -0
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/internal/MatcherApi.java +1 -1
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/internal/RegexBasedMatcher.java +3 -3
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/nano/Phonemetadata.java +1040 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/ExampleNumbersTest.java +10 -10
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/MetadataManagerTest.java +3 -3
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/PhoneNumberUtilTest.java +72 -65
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProtoForTesting_800 +0 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProtoForTesting_979 +0 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProtoForTesting_AD +0 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProtoForTesting_AE +0 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProtoForTesting_AO +0 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProtoForTesting_AR +0 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProtoForTesting_AU +0 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProtoForTesting_BB +0 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProtoForTesting_BR +0 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProtoForTesting_BS +0 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProtoForTesting_BY +0 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProtoForTesting_CA +0 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProtoForTesting_CC +0 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProtoForTesting_CN +0 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProtoForTesting_CX +0 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProtoForTesting_DE +0 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProtoForTesting_FR +0 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProtoForTesting_GB +0 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProtoForTesting_GG +0 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProtoForTesting_HU +0 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProtoForTesting_IT +0 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProtoForTesting_JP +0 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProtoForTesting_KR +0 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProtoForTesting_MX +0 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProtoForTesting_NZ +0 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProtoForTesting_PL +0 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProtoForTesting_RE +0 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProtoForTesting_SE +0 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProtoForTesting_SG +0 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProtoForTesting_US +0 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProtoForTesting_YT +0 -0
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/data/SingleFilePhoneNumberMetadataProtoForTesting +0 -0
- data/data/libphonenumber/java/pom.xml +1 -1
- data/data/libphonenumber/java/release_notes.txt +41 -0
- data/data/libphonenumber/javascript/i18n/phonenumbers/demo-compiled.js +371 -380
- data/data/libphonenumber/javascript/i18n/phonenumbers/metadata.js +781 -771
- data/data/libphonenumber/javascript/i18n/phonenumbers/metadatafortesting.js +75 -75
- data/data/libphonenumber/javascript/i18n/phonenumbers/metadatalite.js +781 -771
- data/data/libphonenumber/resources/PhoneNumberMetadata.xml +288 -157
- data/data/libphonenumber/resources/ShortNumberMetadata.xml +883 -82
- data/data/libphonenumber/resources/carrier/en/216.txt +4 -2
- data/data/libphonenumber/resources/carrier/en/251.txt +5 -1
- data/data/libphonenumber/resources/carrier/en/257.txt +4 -1
- data/data/libphonenumber/resources/carrier/en/354.txt +13 -2
- data/data/libphonenumber/resources/carrier/en/357.txt +1 -0
- data/data/libphonenumber/resources/carrier/en/421.txt +8 -0
- data/data/libphonenumber/resources/carrier/en/45.txt +416 -181
- data/data/libphonenumber/resources/carrier/en/506.txt +1 -0
- data/data/libphonenumber/resources/carrier/en/599.txt +2 -0
- data/data/libphonenumber/resources/carrier/en/61.txt +1 -0
- data/data/libphonenumber/resources/carrier/en/686.txt +1 -1
- data/data/libphonenumber/resources/carrier/en/853.txt +316 -0
- data/data/libphonenumber/resources/carrier/en/964.txt +9 -1
- data/data/libphonenumber/resources/carrier/en/972.txt +8 -6
- data/data/libphonenumber/resources/carrier/en/975.txt +2 -0
- data/data/libphonenumber/resources/carrier/en/976.txt +3 -0
- data/data/libphonenumber/resources/geocoding/en/688.txt +25 -0
- data/data/libphonenumber/resources/geocoding/en/95.txt +17 -0
- data/data/libphonenumber/resources/geocoding/en/972.txt +20 -0
- data/data/libphonenumber/resources/geocoding/en/975.txt +21 -0
- data/data/libphonenumber/resources/timezones/map_data.txt +13 -5
- data/data/libphonenumber/tools/java/common/pom.xml +11 -0
- data/data/libphonenumber/tools/java/common/src/com/google/i18n/phonenumbers/BuildMetadataFromXml.java +138 -121
- data/data/libphonenumber/tools/java/common/test/com/google/i18n/phonenumbers/BuildMetadataFromXmlTest.java +125 -128
- data/data/libphonenumber/tools/java/cpp-build/pom.xml +11 -23
- data/data/libphonenumber/tools/java/cpp-build/src/com/google/i18n/phonenumbers/BuildMetadataCppFromXml.java +12 -1
- data/data/libphonenumber/tools/java/cpp-build/target/cpp-build-1.0-SNAPSHOT-jar-with-dependencies.jar +0 -0
- data/data/libphonenumber/tools/java/java-build/pom.xml +11 -0
- data/data/libphonenumber/tools/java/java-build/src/com/google/i18n/phonenumbers/BuildMetadataJsonFromXml.java +60 -60
- data/data/libphonenumber/tools/java/java-build/src/com/google/i18n/phonenumbers/BuildMetadataProtoFromXml.java +24 -10
- data/data/libphonenumber/tools/java/java-build/target/java-build-1.0-SNAPSHOT-jar-with-dependencies.jar +0 -0
- data/data/phone_data.dat +0 -0
- data/lib/phonelib/version.rb +1 -1
- metadata +18 -5
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/Phonemetadata.java +0 -1053
- data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/ShortNumberUtil.java +0 -80
- data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/ShortNumberUtilTest.java +0 -140
@@ -19,10 +19,10 @@ package com.google.i18n.phonenumbers;
|
|
19
19
|
import com.google.i18n.phonenumbers.PhoneNumberUtil.Leniency;
|
20
20
|
import com.google.i18n.phonenumbers.PhoneNumberUtil.MatchType;
|
21
21
|
import com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberFormat;
|
22
|
-
import com.google.i18n.phonenumbers.Phonemetadata.NumberFormat;
|
23
|
-
import com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata;
|
24
|
-
import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource;
|
25
22
|
import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber;
|
23
|
+
import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource;
|
24
|
+
import com.google.i18n.phonenumbers.nano.Phonemetadata.NumberFormat;
|
25
|
+
import com.google.i18n.phonenumbers.nano.Phonemetadata.PhoneMetadata;
|
26
26
|
|
27
27
|
import java.lang.Character.UnicodeBlock;
|
28
28
|
import java.util.Iterator;
|
@@ -585,7 +585,7 @@ final class PhoneNumberMatcher implements Iterator<PhoneNumberMatch> {
|
|
585
585
|
PhoneMetadata alternateFormats =
|
586
586
|
MetadataManager.getAlternateFormatsForCountry(number.getCountryCode());
|
587
587
|
if (alternateFormats != null) {
|
588
|
-
for (NumberFormat alternateFormat : alternateFormats.
|
588
|
+
for (NumberFormat alternateFormat : alternateFormats.numberFormat) {
|
589
589
|
formattedNumberGroups = getNationalNumberGroups(util, number, alternateFormat);
|
590
590
|
if (checker.checkGroups(util, number, normalizedCandidate, formattedNumberGroups)) {
|
591
591
|
return true;
|
@@ -665,17 +665,17 @@ final class PhoneNumberMatcher implements Iterator<PhoneNumberMatch> {
|
|
665
665
|
// Check if a national prefix should be present when formatting this number.
|
666
666
|
String nationalNumber = util.getNationalSignificantNumber(number);
|
667
667
|
NumberFormat formatRule =
|
668
|
-
util.chooseFormattingPatternForNumber(metadata.
|
668
|
+
util.chooseFormattingPatternForNumber(metadata.numberFormat, nationalNumber);
|
669
669
|
// To do this, we check that a national prefix formatting rule was present and that it wasn't
|
670
670
|
// just the first-group symbol ($1) with punctuation.
|
671
|
-
if ((formatRule != null) && formatRule.
|
672
|
-
if (formatRule.
|
671
|
+
if ((formatRule != null) && formatRule.nationalPrefixFormattingRule.length() > 0) {
|
672
|
+
if (formatRule.nationalPrefixOptionalWhenFormatting) {
|
673
673
|
// The national-prefix is optional in these cases, so we don't need to check if it was
|
674
674
|
// present.
|
675
675
|
return true;
|
676
676
|
}
|
677
677
|
if (PhoneNumberUtil.formattingRuleHasFirstGroupOnly(
|
678
|
-
formatRule.
|
678
|
+
formatRule.nationalPrefixFormattingRule)) {
|
679
679
|
// National Prefix not needed for this number.
|
680
680
|
return true;
|
681
681
|
}
|
data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java
CHANGED
@@ -16,11 +16,11 @@
|
|
16
16
|
|
17
17
|
package com.google.i18n.phonenumbers;
|
18
18
|
|
19
|
-
import com.google.i18n.phonenumbers.Phonemetadata.NumberFormat;
|
20
|
-
import com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata;
|
21
|
-
import com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc;
|
22
19
|
import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber;
|
23
20
|
import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource;
|
21
|
+
import com.google.i18n.phonenumbers.nano.Phonemetadata.NumberFormat;
|
22
|
+
import com.google.i18n.phonenumbers.nano.Phonemetadata.PhoneMetadata;
|
23
|
+
import com.google.i18n.phonenumbers.nano.Phonemetadata.PhoneNumberDesc;
|
24
24
|
|
25
25
|
import java.io.InputStream;
|
26
26
|
import java.util.ArrayList;
|
@@ -586,6 +586,24 @@ public class PhoneNumberUtil {
|
|
586
586
|
nanpaRegions.addAll(countryCallingCodeToRegionCodeMap.get(NANPA_COUNTRY_CODE));
|
587
587
|
}
|
588
588
|
|
589
|
+
/**
|
590
|
+
* Returns a copy of the given NumberFormat object.
|
591
|
+
*/
|
592
|
+
static NumberFormat copyNumberFormat(NumberFormat other) {
|
593
|
+
NumberFormat copy = new NumberFormat();
|
594
|
+
copy.pattern = other.pattern;
|
595
|
+
copy.format = other.format;
|
596
|
+
int leadingDigitsPatternSize = other.leadingDigitsPattern.length;
|
597
|
+
copy.leadingDigitsPattern = new String[leadingDigitsPatternSize];
|
598
|
+
for (int i = 0; i < leadingDigitsPatternSize; i++) {
|
599
|
+
copy.leadingDigitsPattern[i] = other.leadingDigitsPattern[i];
|
600
|
+
}
|
601
|
+
copy.nationalPrefixFormattingRule = other.nationalPrefixFormattingRule;
|
602
|
+
copy.domesticCarrierCodeFormattingRule = other.domesticCarrierCodeFormattingRule;
|
603
|
+
copy.nationalPrefixOptionalWhenFormatting = other.nationalPrefixOptionalWhenFormatting;
|
604
|
+
return copy;
|
605
|
+
}
|
606
|
+
|
589
607
|
/**
|
590
608
|
* Attempts to extract a possible number from the string passed in. This currently strips all
|
591
609
|
* leading characters that cannot be used to start a phone number. Characters that can be used to
|
@@ -769,7 +787,7 @@ public class PhoneNumberUtil {
|
|
769
787
|
}
|
770
788
|
// If a country doesn't use a national prefix, and this number doesn't have an Italian leading
|
771
789
|
// zero, we assume it is a closed dialling plan with no area codes.
|
772
|
-
if (
|
790
|
+
if (metadata.nationalPrefix.equals("") && !number.isItalianLeadingZero()) {
|
773
791
|
return 0;
|
774
792
|
}
|
775
793
|
|
@@ -1113,29 +1131,29 @@ public class PhoneNumberUtil {
|
|
1113
1131
|
StringBuilder formattedNumber = new StringBuilder(20);
|
1114
1132
|
|
1115
1133
|
NumberFormat formattingPattern =
|
1116
|
-
chooseFormattingPatternForNumber(userDefinedFormats
|
1134
|
+
chooseFormattingPatternForNumber(userDefinedFormats.toArray(
|
1135
|
+
new NumberFormat[userDefinedFormats.size()]), nationalSignificantNumber);
|
1117
1136
|
if (formattingPattern == null) {
|
1118
1137
|
// If no pattern above is matched, we format the number as a whole.
|
1119
1138
|
formattedNumber.append(nationalSignificantNumber);
|
1120
1139
|
} else {
|
1121
|
-
NumberFormat numFormatCopy = new NumberFormat();
|
1122
1140
|
// Before we do a replacement of the national prefix pattern $NP with the national prefix, we
|
1123
1141
|
// need to copy the rule so that subsequent replacements for different numbers have the
|
1124
1142
|
// appropriate national prefix.
|
1125
|
-
numFormatCopy
|
1126
|
-
String nationalPrefixFormattingRule = formattingPattern.
|
1143
|
+
NumberFormat numFormatCopy = copyNumberFormat(formattingPattern);
|
1144
|
+
String nationalPrefixFormattingRule = formattingPattern.nationalPrefixFormattingRule;
|
1127
1145
|
if (nationalPrefixFormattingRule.length() > 0) {
|
1128
|
-
String nationalPrefix = metadata.
|
1146
|
+
String nationalPrefix = metadata.nationalPrefix;
|
1129
1147
|
if (nationalPrefix.length() > 0) {
|
1130
1148
|
// Replace $NP with national prefix and $FG with the first group ($1).
|
1131
1149
|
nationalPrefixFormattingRule =
|
1132
1150
|
NP_PATTERN.matcher(nationalPrefixFormattingRule).replaceFirst(nationalPrefix);
|
1133
1151
|
nationalPrefixFormattingRule =
|
1134
1152
|
FG_PATTERN.matcher(nationalPrefixFormattingRule).replaceFirst("\\$1");
|
1135
|
-
numFormatCopy.
|
1153
|
+
numFormatCopy.nationalPrefixFormattingRule = nationalPrefixFormattingRule;
|
1136
1154
|
} else {
|
1137
1155
|
// We don't want to have a rule for how to format the national prefix if there isn't one.
|
1138
|
-
numFormatCopy.
|
1156
|
+
numFormatCopy.nationalPrefixFormattingRule = "";
|
1139
1157
|
}
|
1140
1158
|
}
|
1141
1159
|
formattedNumber.append(
|
@@ -1351,16 +1369,16 @@ public class PhoneNumberUtil {
|
|
1351
1369
|
}
|
1352
1370
|
// Metadata cannot be null because we checked 'isValidRegionCode()' above.
|
1353
1371
|
PhoneMetadata metadataForRegionCallingFrom = getMetadataForRegion(regionCallingFrom);
|
1354
|
-
String internationalPrefix = metadataForRegionCallingFrom.
|
1372
|
+
String internationalPrefix = metadataForRegionCallingFrom.internationalPrefix;
|
1355
1373
|
|
1356
1374
|
// For regions that have multiple international prefixes, the international format of the
|
1357
1375
|
// number is returned, unless there is a preferred international prefix.
|
1358
1376
|
String internationalPrefixForFormatting = "";
|
1359
1377
|
if (UNIQUE_INTERNATIONAL_PREFIX.matcher(internationalPrefix).matches()) {
|
1360
1378
|
internationalPrefixForFormatting = internationalPrefix;
|
1361
|
-
} else if (metadataForRegionCallingFrom.
|
1379
|
+
} else if (!metadataForRegionCallingFrom.preferredInternationalPrefix.equals("")) {
|
1362
1380
|
internationalPrefixForFormatting =
|
1363
|
-
metadataForRegionCallingFrom.
|
1381
|
+
metadataForRegionCallingFrom.preferredInternationalPrefix;
|
1364
1382
|
}
|
1365
1383
|
|
1366
1384
|
String regionCode = getRegionCodeForCountryCode(countryCallingCode);
|
@@ -1446,7 +1464,7 @@ public class PhoneNumberUtil {
|
|
1446
1464
|
PhoneMetadata metadata = getMetadataForRegion(regionCode);
|
1447
1465
|
String nationalNumber = getNationalSignificantNumber(number);
|
1448
1466
|
NumberFormat formatRule =
|
1449
|
-
chooseFormattingPatternForNumber(metadata.
|
1467
|
+
chooseFormattingPatternForNumber(metadata.numberFormat, nationalNumber);
|
1450
1468
|
// The format rule could still be null here if the national number was 0 and there was no
|
1451
1469
|
// raw input (this should not be possible for numbers generated by the phonenumber library
|
1452
1470
|
// as they would also not have a country calling code and we would have exited earlier).
|
@@ -1458,7 +1476,7 @@ public class PhoneNumberUtil {
|
|
1458
1476
|
// return the national format.
|
1459
1477
|
// TODO: Refactor the code below with the code in
|
1460
1478
|
// isNationalPrefixPresentIfRequired.
|
1461
|
-
String candidateNationalPrefixRule = formatRule.
|
1479
|
+
String candidateNationalPrefixRule = formatRule.nationalPrefixFormattingRule;
|
1462
1480
|
// We assume that the first-group symbol will never be _before_ the national prefix.
|
1463
1481
|
int indexOfFirstGroup = candidateNationalPrefixRule.indexOf("$1");
|
1464
1482
|
if (indexOfFirstGroup <= 0) {
|
@@ -1474,9 +1492,8 @@ public class PhoneNumberUtil {
|
|
1474
1492
|
break;
|
1475
1493
|
}
|
1476
1494
|
// Otherwise, we need to remove the national prefix from our output.
|
1477
|
-
NumberFormat numFormatCopy =
|
1478
|
-
numFormatCopy.
|
1479
|
-
numFormatCopy.clearNationalPrefixFormattingRule();
|
1495
|
+
NumberFormat numFormatCopy = copyNumberFormat(formatRule);
|
1496
|
+
numFormatCopy.nationalPrefixFormattingRule = "";
|
1480
1497
|
List<NumberFormat> numberFormats = new ArrayList<NumberFormat>(1);
|
1481
1498
|
numberFormats.add(numFormatCopy);
|
1482
1499
|
formattedNumber = formatByPattern(number, PhoneNumberFormat.NATIONAL, numberFormats);
|
@@ -1533,7 +1550,7 @@ public class PhoneNumberUtil {
|
|
1533
1550
|
}
|
1534
1551
|
String nationalNumber = getNationalSignificantNumber(number);
|
1535
1552
|
NumberFormat formatRule =
|
1536
|
-
chooseFormattingPatternForNumber(metadata.
|
1553
|
+
chooseFormattingPatternForNumber(metadata.numberFormat, nationalNumber);
|
1537
1554
|
return formatRule != null;
|
1538
1555
|
}
|
1539
1556
|
|
@@ -1597,18 +1614,17 @@ public class PhoneNumberUtil {
|
|
1597
1614
|
} else if (metadataForRegionCallingFrom != null &&
|
1598
1615
|
countryCode == getCountryCodeForValidRegion(regionCallingFrom)) {
|
1599
1616
|
NumberFormat formattingPattern =
|
1600
|
-
chooseFormattingPatternForNumber(metadataForRegionCallingFrom.
|
1617
|
+
chooseFormattingPatternForNumber(metadataForRegionCallingFrom.numberFormat,
|
1601
1618
|
nationalNumber);
|
1602
1619
|
if (formattingPattern == null) {
|
1603
1620
|
// If no pattern above is matched, we format the original input.
|
1604
1621
|
return rawInput;
|
1605
1622
|
}
|
1606
|
-
NumberFormat newFormat =
|
1607
|
-
newFormat.mergeFrom(formattingPattern);
|
1623
|
+
NumberFormat newFormat = copyNumberFormat(formattingPattern);
|
1608
1624
|
// The first group is the first group of digits that the user wrote together.
|
1609
|
-
newFormat.
|
1625
|
+
newFormat.pattern = "(\\d+)(.*)";
|
1610
1626
|
// Here we just concatenate them back together after the national prefix has been fixed.
|
1611
|
-
newFormat.
|
1627
|
+
newFormat.format = "$1$2";
|
1612
1628
|
// Now we format using this pattern instead of the default pattern, but with the national
|
1613
1629
|
// prefix prefixed if necessary.
|
1614
1630
|
// This will not work in the cases where the pattern (and not the leading digits) decide
|
@@ -1621,11 +1637,11 @@ public class PhoneNumberUtil {
|
|
1621
1637
|
// prefixes, the international format of the number is returned, unless there is a preferred
|
1622
1638
|
// international prefix.
|
1623
1639
|
if (metadataForRegionCallingFrom != null) {
|
1624
|
-
String internationalPrefix = metadataForRegionCallingFrom.
|
1640
|
+
String internationalPrefix = metadataForRegionCallingFrom.internationalPrefix;
|
1625
1641
|
internationalPrefixForFormatting =
|
1626
1642
|
UNIQUE_INTERNATIONAL_PREFIX.matcher(internationalPrefix).matches()
|
1627
1643
|
? internationalPrefix
|
1628
|
-
: metadataForRegionCallingFrom.
|
1644
|
+
: metadataForRegionCallingFrom.preferredInternationalPrefix;
|
1629
1645
|
}
|
1630
1646
|
StringBuilder formattedNumber = new StringBuilder(rawInput);
|
1631
1647
|
String regionCode = getRegionCodeForCountryCode(countryCode);
|
@@ -1707,27 +1723,27 @@ public class PhoneNumberUtil {
|
|
1707
1723
|
PhoneMetadata metadata,
|
1708
1724
|
PhoneNumberFormat numberFormat,
|
1709
1725
|
String carrierCode) {
|
1710
|
-
|
1726
|
+
NumberFormat[] intlNumberFormats = metadata.intlNumberFormat;
|
1711
1727
|
// When the intlNumberFormats exists, we use that to format national number for the
|
1712
1728
|
// INTERNATIONAL format instead of using the numberDesc.numberFormats.
|
1713
|
-
|
1714
|
-
(intlNumberFormats.
|
1715
|
-
? metadata.
|
1716
|
-
: metadata.
|
1729
|
+
NumberFormat[] availableFormats =
|
1730
|
+
(intlNumberFormats.length == 0 || numberFormat == PhoneNumberFormat.NATIONAL)
|
1731
|
+
? metadata.numberFormat
|
1732
|
+
: metadata.intlNumberFormat;
|
1717
1733
|
NumberFormat formattingPattern = chooseFormattingPatternForNumber(availableFormats, number);
|
1718
1734
|
return (formattingPattern == null)
|
1719
1735
|
? number
|
1720
1736
|
: formatNsnUsingPattern(number, formattingPattern, numberFormat, carrierCode);
|
1721
1737
|
}
|
1722
1738
|
|
1723
|
-
NumberFormat chooseFormattingPatternForNumber(
|
1739
|
+
NumberFormat chooseFormattingPatternForNumber(NumberFormat[] availableFormats,
|
1724
1740
|
String nationalNumber) {
|
1725
1741
|
for (NumberFormat numFormat : availableFormats) {
|
1726
|
-
int size = numFormat.
|
1742
|
+
int size = numFormat.leadingDigitsPattern.length;
|
1727
1743
|
if (size == 0 || regexCache.getPatternForRegex(
|
1728
1744
|
// We always use the last leading_digits_pattern, as it is the most detailed.
|
1729
|
-
numFormat.
|
1730
|
-
Matcher m = regexCache.getPatternForRegex(numFormat.
|
1745
|
+
numFormat.leadingDigitsPattern[size - 1]).matcher(nationalNumber).lookingAt()) {
|
1746
|
+
Matcher m = regexCache.getPatternForRegex(numFormat.pattern).matcher(nationalNumber);
|
1731
1747
|
if (m.matches()) {
|
1732
1748
|
return numFormat;
|
1733
1749
|
}
|
@@ -1749,15 +1765,15 @@ public class PhoneNumberUtil {
|
|
1749
1765
|
NumberFormat formattingPattern,
|
1750
1766
|
PhoneNumberFormat numberFormat,
|
1751
1767
|
String carrierCode) {
|
1752
|
-
String numberFormatRule = formattingPattern.
|
1768
|
+
String numberFormatRule = formattingPattern.format;
|
1753
1769
|
Matcher m =
|
1754
|
-
regexCache.getPatternForRegex(formattingPattern.
|
1770
|
+
regexCache.getPatternForRegex(formattingPattern.pattern).matcher(nationalNumber);
|
1755
1771
|
String formattedNationalNumber = "";
|
1756
1772
|
if (numberFormat == PhoneNumberFormat.NATIONAL &&
|
1757
1773
|
carrierCode != null && carrierCode.length() > 0 &&
|
1758
|
-
formattingPattern.
|
1774
|
+
formattingPattern.domesticCarrierCodeFormattingRule.length() > 0) {
|
1759
1775
|
// Replace the $CC in the formatting rule with the desired carrier code.
|
1760
|
-
String carrierCodeFormattingRule = formattingPattern.
|
1776
|
+
String carrierCodeFormattingRule = formattingPattern.domesticCarrierCodeFormattingRule;
|
1761
1777
|
carrierCodeFormattingRule =
|
1762
1778
|
CC_PATTERN.matcher(carrierCodeFormattingRule).replaceFirst(carrierCode);
|
1763
1779
|
// Now replace the $FG in the formatting rule with the first group and the carrier code
|
@@ -1767,7 +1783,7 @@ public class PhoneNumberUtil {
|
|
1767
1783
|
formattedNationalNumber = m.replaceAll(numberFormatRule);
|
1768
1784
|
} else {
|
1769
1785
|
// Use the national prefix formatting rule instead.
|
1770
|
-
String nationalPrefixFormattingRule = formattingPattern.
|
1786
|
+
String nationalPrefixFormattingRule = formattingPattern.nationalPrefixFormattingRule;
|
1771
1787
|
if (numberFormat == PhoneNumberFormat.NATIONAL &&
|
1772
1788
|
nationalPrefixFormattingRule != null &&
|
1773
1789
|
nationalPrefixFormattingRule.length() > 0) {
|
@@ -1820,8 +1836,8 @@ public class PhoneNumberUtil {
|
|
1820
1836
|
}
|
1821
1837
|
PhoneNumberDesc desc = getNumberDescByType(getMetadataForRegion(regionCode), type);
|
1822
1838
|
try {
|
1823
|
-
if (desc.
|
1824
|
-
return parse(desc.
|
1839
|
+
if (!desc.exampleNumber.equals("")) {
|
1840
|
+
return parse(desc.exampleNumber, regionCode);
|
1825
1841
|
}
|
1826
1842
|
} catch (NumberParseException e) {
|
1827
1843
|
logger.log(Level.SEVERE, e.toString());
|
@@ -1840,10 +1856,10 @@ public class PhoneNumberUtil {
|
|
1840
1856
|
public PhoneNumber getExampleNumberForNonGeoEntity(int countryCallingCode) {
|
1841
1857
|
PhoneMetadata metadata = getMetadataForNonGeographicalRegion(countryCallingCode);
|
1842
1858
|
if (metadata != null) {
|
1843
|
-
PhoneNumberDesc desc = metadata.
|
1859
|
+
PhoneNumberDesc desc = metadata.generalDesc;
|
1844
1860
|
try {
|
1845
|
-
if (desc.
|
1846
|
-
return parse("+" + countryCallingCode + desc.
|
1861
|
+
if (!desc.exampleNumber.equals("")) {
|
1862
|
+
return parse("+" + countryCallingCode + desc.exampleNumber, "ZZ");
|
1847
1863
|
}
|
1848
1864
|
} catch (NumberParseException e) {
|
1849
1865
|
logger.log(Level.SEVERE, e.toString());
|
@@ -1866,8 +1882,8 @@ public class PhoneNumberUtil {
|
|
1866
1882
|
if (numberFormat == PhoneNumberFormat.RFC3966) {
|
1867
1883
|
formattedNumber.append(RFC3966_EXTN_PREFIX).append(number.getExtension());
|
1868
1884
|
} else {
|
1869
|
-
if (metadata.
|
1870
|
-
formattedNumber.append(metadata.
|
1885
|
+
if (!metadata.preferredExtnPrefix.equals("")) {
|
1886
|
+
formattedNumber.append(metadata.preferredExtnPrefix).append(number.getExtension());
|
1871
1887
|
} else {
|
1872
1888
|
formattedNumber.append(DEFAULT_EXTN_PREFIX).append(number.getExtension());
|
1873
1889
|
}
|
@@ -1878,28 +1894,28 @@ public class PhoneNumberUtil {
|
|
1878
1894
|
PhoneNumberDesc getNumberDescByType(PhoneMetadata metadata, PhoneNumberType type) {
|
1879
1895
|
switch (type) {
|
1880
1896
|
case PREMIUM_RATE:
|
1881
|
-
return metadata.
|
1897
|
+
return metadata.premiumRate;
|
1882
1898
|
case TOLL_FREE:
|
1883
|
-
return metadata.
|
1899
|
+
return metadata.tollFree;
|
1884
1900
|
case MOBILE:
|
1885
|
-
return metadata.
|
1901
|
+
return metadata.mobile;
|
1886
1902
|
case FIXED_LINE:
|
1887
1903
|
case FIXED_LINE_OR_MOBILE:
|
1888
|
-
return metadata.
|
1904
|
+
return metadata.fixedLine;
|
1889
1905
|
case SHARED_COST:
|
1890
|
-
return metadata.
|
1906
|
+
return metadata.sharedCost;
|
1891
1907
|
case VOIP:
|
1892
|
-
return metadata.
|
1908
|
+
return metadata.voip;
|
1893
1909
|
case PERSONAL_NUMBER:
|
1894
|
-
return metadata.
|
1910
|
+
return metadata.personalNumber;
|
1895
1911
|
case PAGER:
|
1896
|
-
return metadata.
|
1912
|
+
return metadata.pager;
|
1897
1913
|
case UAN:
|
1898
|
-
return metadata.
|
1914
|
+
return metadata.uan;
|
1899
1915
|
case VOICEMAIL:
|
1900
|
-
return metadata.
|
1916
|
+
return metadata.voicemail;
|
1901
1917
|
default:
|
1902
|
-
return metadata.
|
1918
|
+
return metadata.generalDesc;
|
1903
1919
|
}
|
1904
1920
|
}
|
1905
1921
|
|
@@ -1920,48 +1936,48 @@ public class PhoneNumberUtil {
|
|
1920
1936
|
}
|
1921
1937
|
|
1922
1938
|
private PhoneNumberType getNumberTypeHelper(String nationalNumber, PhoneMetadata metadata) {
|
1923
|
-
if (!isNumberMatchingDesc(nationalNumber, metadata.
|
1939
|
+
if (!isNumberMatchingDesc(nationalNumber, metadata.generalDesc)) {
|
1924
1940
|
return PhoneNumberType.UNKNOWN;
|
1925
1941
|
}
|
1926
1942
|
|
1927
|
-
if (isNumberMatchingDesc(nationalNumber, metadata.
|
1943
|
+
if (isNumberMatchingDesc(nationalNumber, metadata.premiumRate)) {
|
1928
1944
|
return PhoneNumberType.PREMIUM_RATE;
|
1929
1945
|
}
|
1930
|
-
if (isNumberMatchingDesc(nationalNumber, metadata.
|
1946
|
+
if (isNumberMatchingDesc(nationalNumber, metadata.tollFree)) {
|
1931
1947
|
return PhoneNumberType.TOLL_FREE;
|
1932
1948
|
}
|
1933
|
-
if (isNumberMatchingDesc(nationalNumber, metadata.
|
1949
|
+
if (isNumberMatchingDesc(nationalNumber, metadata.sharedCost)) {
|
1934
1950
|
return PhoneNumberType.SHARED_COST;
|
1935
1951
|
}
|
1936
|
-
if (isNumberMatchingDesc(nationalNumber, metadata.
|
1952
|
+
if (isNumberMatchingDesc(nationalNumber, metadata.voip)) {
|
1937
1953
|
return PhoneNumberType.VOIP;
|
1938
1954
|
}
|
1939
|
-
if (isNumberMatchingDesc(nationalNumber, metadata.
|
1955
|
+
if (isNumberMatchingDesc(nationalNumber, metadata.personalNumber)) {
|
1940
1956
|
return PhoneNumberType.PERSONAL_NUMBER;
|
1941
1957
|
}
|
1942
|
-
if (isNumberMatchingDesc(nationalNumber, metadata.
|
1958
|
+
if (isNumberMatchingDesc(nationalNumber, metadata.pager)) {
|
1943
1959
|
return PhoneNumberType.PAGER;
|
1944
1960
|
}
|
1945
|
-
if (isNumberMatchingDesc(nationalNumber, metadata.
|
1961
|
+
if (isNumberMatchingDesc(nationalNumber, metadata.uan)) {
|
1946
1962
|
return PhoneNumberType.UAN;
|
1947
1963
|
}
|
1948
|
-
if (isNumberMatchingDesc(nationalNumber, metadata.
|
1964
|
+
if (isNumberMatchingDesc(nationalNumber, metadata.voicemail)) {
|
1949
1965
|
return PhoneNumberType.VOICEMAIL;
|
1950
1966
|
}
|
1951
1967
|
|
1952
|
-
boolean isFixedLine = isNumberMatchingDesc(nationalNumber, metadata.
|
1968
|
+
boolean isFixedLine = isNumberMatchingDesc(nationalNumber, metadata.fixedLine);
|
1953
1969
|
if (isFixedLine) {
|
1954
|
-
if (metadata.
|
1970
|
+
if (metadata.sameMobileAndFixedLinePattern) {
|
1955
1971
|
return PhoneNumberType.FIXED_LINE_OR_MOBILE;
|
1956
|
-
} else if (isNumberMatchingDesc(nationalNumber, metadata.
|
1972
|
+
} else if (isNumberMatchingDesc(nationalNumber, metadata.mobile)) {
|
1957
1973
|
return PhoneNumberType.FIXED_LINE_OR_MOBILE;
|
1958
1974
|
}
|
1959
1975
|
return PhoneNumberType.FIXED_LINE;
|
1960
1976
|
}
|
1961
1977
|
// Otherwise, test to see if the number is mobile. Only do this if certain that the patterns for
|
1962
1978
|
// mobile and fixed line aren't the same.
|
1963
|
-
if (!metadata.
|
1964
|
-
isNumberMatchingDesc(nationalNumber, metadata.
|
1979
|
+
if (!metadata.sameMobileAndFixedLinePattern &&
|
1980
|
+
isNumberMatchingDesc(nationalNumber, metadata.mobile)) {
|
1965
1981
|
return PhoneNumberType.MOBILE;
|
1966
1982
|
}
|
1967
1983
|
return PhoneNumberType.UNKNOWN;
|
@@ -1987,14 +2003,14 @@ public class PhoneNumberUtil {
|
|
1987
2003
|
|
1988
2004
|
boolean isNumberPossibleForDesc(String nationalNumber, PhoneNumberDesc numberDesc) {
|
1989
2005
|
Matcher possibleNumberPatternMatcher =
|
1990
|
-
regexCache.getPatternForRegex(numberDesc.
|
2006
|
+
regexCache.getPatternForRegex(numberDesc.possibleNumberPattern)
|
1991
2007
|
.matcher(nationalNumber);
|
1992
2008
|
return possibleNumberPatternMatcher.matches();
|
1993
2009
|
}
|
1994
2010
|
|
1995
2011
|
boolean isNumberMatchingDesc(String nationalNumber, PhoneNumberDesc numberDesc) {
|
1996
2012
|
Matcher nationalNumberPatternMatcher =
|
1997
|
-
regexCache.getPatternForRegex(numberDesc.
|
2013
|
+
regexCache.getPatternForRegex(numberDesc.nationalNumberPattern)
|
1998
2014
|
.matcher(nationalNumber);
|
1999
2015
|
return isNumberPossibleForDesc(nationalNumber, numberDesc) &&
|
2000
2016
|
nationalNumberPatternMatcher.matches();
|
@@ -2073,8 +2089,8 @@ public class PhoneNumberUtil {
|
|
2073
2089
|
// If leadingDigits is present, use this. Otherwise, do full validation.
|
2074
2090
|
// Metadata cannot be null because the region codes come from the country calling code map.
|
2075
2091
|
PhoneMetadata metadata = getMetadataForRegion(regionCode);
|
2076
|
-
if (metadata.
|
2077
|
-
if (regexCache.getPatternForRegex(metadata.
|
2092
|
+
if (!metadata.leadingDigits.equals("")) {
|
2093
|
+
if (regexCache.getPatternForRegex(metadata.leadingDigits)
|
2078
2094
|
.matcher(nationalNumber).lookingAt()) {
|
2079
2095
|
return regionCode;
|
2080
2096
|
}
|
@@ -2140,7 +2156,7 @@ public class PhoneNumberUtil {
|
|
2140
2156
|
if (metadata == null) {
|
2141
2157
|
throw new IllegalArgumentException("Invalid region code: " + regionCode);
|
2142
2158
|
}
|
2143
|
-
return metadata.
|
2159
|
+
return metadata.countryCode;
|
2144
2160
|
}
|
2145
2161
|
|
2146
2162
|
/**
|
@@ -2166,7 +2182,7 @@ public class PhoneNumberUtil {
|
|
2166
2182
|
+ ") provided.");
|
2167
2183
|
return null;
|
2168
2184
|
}
|
2169
|
-
String nationalPrefix = metadata.
|
2185
|
+
String nationalPrefix = metadata.nationalPrefix;
|
2170
2186
|
// If no national prefix was found, we return null.
|
2171
2187
|
if (nationalPrefix.length() == 0) {
|
2172
2188
|
return null;
|
@@ -2200,7 +2216,7 @@ public class PhoneNumberUtil {
|
|
2200
2216
|
if (mainMetadataForCallingCode == null) {
|
2201
2217
|
return false;
|
2202
2218
|
}
|
2203
|
-
return mainMetadataForCallingCode.
|
2219
|
+
return mainMetadataForCallingCode.leadingZeroPossible;
|
2204
2220
|
}
|
2205
2221
|
|
2206
2222
|
/**
|
@@ -2257,7 +2273,7 @@ public class PhoneNumberUtil {
|
|
2257
2273
|
*/
|
2258
2274
|
private boolean isShorterThanPossibleNormalNumber(PhoneMetadata regionMetadata, String number) {
|
2259
2275
|
Pattern possibleNumberPattern = regexCache.getPatternForRegex(
|
2260
|
-
regionMetadata.
|
2276
|
+
regionMetadata.generalDesc.possibleNumberPattern);
|
2261
2277
|
return testNumberLengthAgainstPattern(possibleNumberPattern, number) ==
|
2262
2278
|
ValidationResult.TOO_SHORT;
|
2263
2279
|
}
|
@@ -2297,7 +2313,7 @@ public class PhoneNumberUtil {
|
|
2297
2313
|
// Metadata cannot be null because the country calling code is valid.
|
2298
2314
|
PhoneMetadata metadata = getMetadataForRegionOrCallingCode(countryCode, regionCode);
|
2299
2315
|
Pattern possibleNumberPattern =
|
2300
|
-
regexCache.getPatternForRegex(metadata.
|
2316
|
+
regexCache.getPatternForRegex(metadata.generalDesc.possibleNumberPattern);
|
2301
2317
|
return testNumberLengthAgainstPattern(possibleNumberPattern, nationalNumber);
|
2302
2318
|
}
|
2303
2319
|
|
@@ -2429,7 +2445,7 @@ public class PhoneNumberUtil {
|
|
2429
2445
|
// Set the default prefix to be something that will never match.
|
2430
2446
|
String possibleCountryIddPrefix = "NonMatch";
|
2431
2447
|
if (defaultRegionMetadata != null) {
|
2432
|
-
possibleCountryIddPrefix = defaultRegionMetadata.
|
2448
|
+
possibleCountryIddPrefix = defaultRegionMetadata.internationalPrefix;
|
2433
2449
|
}
|
2434
2450
|
|
2435
2451
|
CountryCodeSource countryCodeSource =
|
@@ -2457,19 +2473,19 @@ public class PhoneNumberUtil {
|
|
2457
2473
|
// Check to see if the number starts with the country calling code for the default region. If
|
2458
2474
|
// so, we remove the country calling code, and do some checks on the validity of the number
|
2459
2475
|
// before and after.
|
2460
|
-
int defaultCountryCode = defaultRegionMetadata.
|
2476
|
+
int defaultCountryCode = defaultRegionMetadata.countryCode;
|
2461
2477
|
String defaultCountryCodeString = String.valueOf(defaultCountryCode);
|
2462
2478
|
String normalizedNumber = fullNumber.toString();
|
2463
2479
|
if (normalizedNumber.startsWith(defaultCountryCodeString)) {
|
2464
2480
|
StringBuilder potentialNationalNumber =
|
2465
2481
|
new StringBuilder(normalizedNumber.substring(defaultCountryCodeString.length()));
|
2466
|
-
PhoneNumberDesc generalDesc = defaultRegionMetadata.
|
2482
|
+
PhoneNumberDesc generalDesc = defaultRegionMetadata.generalDesc;
|
2467
2483
|
Pattern validNumberPattern =
|
2468
|
-
regexCache.getPatternForRegex(generalDesc.
|
2484
|
+
regexCache.getPatternForRegex(generalDesc.nationalNumberPattern);
|
2469
2485
|
maybeStripNationalPrefixAndCarrierCode(
|
2470
2486
|
potentialNationalNumber, defaultRegionMetadata, null /* Don't need the carrier code */);
|
2471
2487
|
Pattern possibleNumberPattern =
|
2472
|
-
regexCache.getPatternForRegex(generalDesc.
|
2488
|
+
regexCache.getPatternForRegex(generalDesc.possibleNumberPattern);
|
2473
2489
|
// If the number was not valid before but is valid now, or if it was too long before, we
|
2474
2490
|
// consider the number with the country calling code stripped to be a better result and
|
2475
2491
|
// keep that instead.
|
@@ -2562,7 +2578,7 @@ public class PhoneNumberUtil {
|
|
2562
2578
|
boolean maybeStripNationalPrefixAndCarrierCode(
|
2563
2579
|
StringBuilder number, PhoneMetadata metadata, StringBuilder carrierCode) {
|
2564
2580
|
int numberLength = number.length();
|
2565
|
-
String possibleNationalPrefix = metadata.
|
2581
|
+
String possibleNationalPrefix = metadata.nationalPrefixForParsing;
|
2566
2582
|
if (numberLength == 0 || possibleNationalPrefix.length() == 0) {
|
2567
2583
|
// Early return for numbers of zero length.
|
2568
2584
|
return false;
|
@@ -2571,14 +2587,14 @@ public class PhoneNumberUtil {
|
|
2571
2587
|
Matcher prefixMatcher = regexCache.getPatternForRegex(possibleNationalPrefix).matcher(number);
|
2572
2588
|
if (prefixMatcher.lookingAt()) {
|
2573
2589
|
Pattern nationalNumberRule =
|
2574
|
-
regexCache.getPatternForRegex(metadata.
|
2590
|
+
regexCache.getPatternForRegex(metadata.generalDesc.nationalNumberPattern);
|
2575
2591
|
// Check if the original number is viable.
|
2576
2592
|
boolean isViableOriginalNumber = nationalNumberRule.matcher(number).matches();
|
2577
2593
|
// prefixMatcher.group(numOfGroups) == null implies nothing was captured by the capturing
|
2578
2594
|
// groups in possibleNationalPrefix; therefore, no transformation is necessary, and we just
|
2579
2595
|
// remove the national prefix.
|
2580
2596
|
int numOfGroups = prefixMatcher.groupCount();
|
2581
|
-
String transformRule = metadata.
|
2597
|
+
String transformRule = metadata.nationalPrefixTransformRule;
|
2582
2598
|
if (transformRule == null || transformRule.length() == 0 ||
|
2583
2599
|
prefixMatcher.group(numOfGroups) == null) {
|
2584
2600
|
// If the original number was viable, and the resultant number is not, we return.
|
@@ -2864,7 +2880,7 @@ public class PhoneNumberUtil {
|
|
2864
2880
|
normalize(nationalNumber);
|
2865
2881
|
normalizedNationalNumber.append(nationalNumber);
|
2866
2882
|
if (defaultRegion != null) {
|
2867
|
-
countryCode = regionMetadata.
|
2883
|
+
countryCode = regionMetadata.countryCode;
|
2868
2884
|
phoneNumber.setCountryCode(countryCode);
|
2869
2885
|
} else if (keepRawInput) {
|
2870
2886
|
phoneNumber.clearCountryCodeSource();
|
@@ -3138,7 +3154,7 @@ public class PhoneNumberUtil {
|
|
3138
3154
|
return true;
|
3139
3155
|
}
|
3140
3156
|
String nationalSignificantNumber = getNationalSignificantNumber(number);
|
3141
|
-
return !isNumberMatchingDesc(nationalSignificantNumber, metadata.
|
3157
|
+
return !isNumberMatchingDesc(nationalSignificantNumber, metadata.noInternationalDialling);
|
3142
3158
|
}
|
3143
3159
|
|
3144
3160
|
/**
|
@@ -3154,6 +3170,6 @@ public class PhoneNumberUtil {
|
|
3154
3170
|
logger.log(Level.WARNING, "Invalid or unknown region code provided: " + regionCode);
|
3155
3171
|
return false;
|
3156
3172
|
}
|
3157
|
-
return metadata.
|
3173
|
+
return metadata.mobileNumberPortableRegion;
|
3158
3174
|
}
|
3159
3175
|
}
|