diff --git a/java/release_notes.txt b/java/release_notes.txt index 8461424ba..f915803d5 100644 --- a/java/release_notes.txt +++ b/java/release_notes.txt @@ -15,8 +15,8 @@ August 11th, 2011: libphonenumber-3.8 - Split geocoding US binary data into multiple files. * Metadata changes - - Updates: AR, AT, AU, AZ, BE, BF, BH, CA, CN, CO, CR, HT, HU, IT, KG, KH, LB, - LI, ME, NC, RS, SE, TT, US, ZA + - Updates: AR, AT, AU, AZ, BE, BF, BH, BY, CA, CN, CO, CR, HT, HU, IT, KG, KH, + LB, LI, ME, NC, RS, SE, TT, US, VG, ZA - New geocoding data for: AL, AM, AO, BF, BJ, BW, CD, CI, CZ, DZ, EE, GH, GM, GN, GR, GW, HU, IS, KE, LK, LS, LT, LU, LV, MD, MG, MR, NA, PE, QN, SD, SK, SN, SZ, TN, VE, VN, ZA, ZW diff --git a/java/src/com/google/i18n/phonenumbers/CountryCodeToRegionCodeMap.java b/java/src/com/google/i18n/phonenumbers/CountryCodeToRegionCodeMap.java index b5d7ace5a..0bb170055 100644 --- a/java/src/com/google/i18n/phonenumbers/CountryCodeToRegionCodeMap.java +++ b/java/src/com/google/i18n/phonenumbers/CountryCodeToRegionCodeMap.java @@ -432,9 +432,8 @@ public class CountryCodeToRegionCodeMap { listWithRegionCode.add("MG"); countryCodeToRegionCodeMap.put(261, listWithRegionCode); - listWithRegionCode = new ArrayList(3); + listWithRegionCode = new ArrayList(2); listWithRegionCode.add("RE"); - listWithRegionCode.add("TF"); listWithRegionCode.add("YT"); countryCodeToRegionCodeMap.put(262, listWithRegionCode); diff --git a/java/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BY b/java/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BY index 969f182a9..b07157e12 100644 Binary files a/java/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BY and b/java/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BY differ diff --git a/java/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_TF b/java/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_TF deleted file mode 100644 index 8e7ef3055..000000000 Binary files a/java/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_TF and /dev/null differ diff --git a/java/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_VG b/java/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_VG index 17db04b69..3c4a379d8 100644 Binary files a/java/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_VG and b/java/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_VG differ diff --git a/resources/PhoneNumberMetaData.xml b/resources/PhoneNumberMetaData.xml index fa32c56ba..a65f9ed7e 100644 --- a/resources/PhoneNumberMetaData.xml +++ b/resources/PhoneNumberMetaData.xml @@ -2834,18 +2834,38 @@ - [89] + + 8[01]| + 9 + + $1 $2 $3 + + + 82 $1 $2 $3 [12-4]\d{8}| - [89]\d{9} + [89]\d{9,10} - \d{7,10} + \d{7,11} + + + + 8(?: + [01]| + 20 + )\d{8}| + 902\d{7} + + \d{10,11} + 82012345678 + (?: @@ -2889,7 +2909,7 @@ (?: 2(?: - 5[679]| + 5[5679]| 9[1-9] )| 33\d| @@ -2902,12 +2922,23 @@ - 80[13]\d{7} - \d{10} + + 8(?: + 0[13]| + 20\d + )\d{7} + + \d{10,11} 8011234567 - 902\d{7} + + + (?: + 810| + 902 + )\d{7} + \d{10} 9021234567 @@ -13503,6 +13534,9 @@ \d{7}(?:\d{3})? + 670(?: 2(?: @@ -16193,6 +16227,11 @@ + + + + - + - - + + @@ -19840,14 +19879,17 @@ \d{7}(?:\d{3})? + 284(?: (?: 229| 4(?: - 46| + 22| 9[45] )| + 774| 8(?: 52| 6[459] @@ -19859,16 +19901,21 @@ 2842291234 + 284(?: (?: - 30[0-3]| + 3(?: + 0[0-3]| + 4[0-367] + )| 4(?: - 4[0-5]| + 4[0-6]| 68| 99 )| - 54[0-4] + 54[0-57] )\d{4}| 496[6-9]\d{3} )