Skip to content

Commit

Permalink
Metadata updates for release 8.13.27 (#3346)
Browse files Browse the repository at this point in the history
  • Loading branch information
rohininidhi authored Dec 6, 2023
1 parent 51880e5 commit f6a3635
Show file tree
Hide file tree
Showing 71 changed files with 16,909 additions and 16,803 deletions.
15,940 changes: 7,978 additions & 7,962 deletions cpp/src/phonenumbers/lite_metadata.cc

Large diffs are not rendered by default.

16,938 changes: 8,477 additions & 8,461 deletions cpp/src/phonenumbers/metadata.cc

Large diffs are not rendered by default.

Binary file not shown.
Binary file modified java/carrier/src/com/google/i18n/phonenumbers/carrier/data/358_en
Binary file not shown.
Binary file modified java/carrier/src/com/google/i18n/phonenumbers/carrier/data/40_en
Binary file not shown.
Binary file modified java/carrier/src/com/google/i18n/phonenumbers/carrier/data/49_en
Binary file not shown.
Binary file not shown.
Binary file modified java/carrier/src/com/google/i18n/phonenumbers/carrier/data/65_en
Binary file not shown.
Binary file modified java/carrier/src/com/google/i18n/phonenumbers/carrier/data/673_en
Binary file not shown.
Binary file modified java/carrier/src/com/google/i18n/phonenumbers/carrier/data/852_en
Binary file not shown.
Binary file modified java/carrier/src/com/google/i18n/phonenumbers/carrier/data/852_zh
Binary file not shown.
Binary file modified java/carrier/src/com/google/i18n/phonenumbers/carrier/data/973_en
Binary file not shown.
Binary file modified java/carrier/src/com/google/i18n/phonenumbers/carrier/data/995_en
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
194 changes: 98 additions & 96 deletions javascript/i18n/phonenumbers/demo-compiled.js

Large diffs are not rendered by default.

50 changes: 27 additions & 23 deletions javascript/i18n/phonenumbers/metadata.js

Large diffs are not rendered by default.

50 changes: 27 additions & 23 deletions javascript/i18n/phonenumbers/metadatalite.js

Large diffs are not rendered by default.

Binary file modified metadata/metadata.zip
Binary file not shown.
10 changes: 10 additions & 0 deletions release_notes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
Dec 06, 2023: v8.13.27
Metadata changes:
- Updated phone metadata for region code(s):
AR, BH, DE, EE, FI, GE, HK, PY, RO, SG, US
- Updated geocoding data for country calling code(s): 54 (en), 358 (en, sv)
- Updated carrier data for country calling code(s):
40 (en), 49 (en), 65 (en), 358 (en), 595 (en), 673 (en), 852 (en, zh),
973 (en), 995 (en), 1868 (en)
- Updated / refreshed time zone meta data.

Nov 21, 2023: v8.13.26
Metadata changes:
- Updated phone metadata for region code(s): EH, HK, HR, MA, MK, PK, RO, TJ
Expand Down
128 changes: 83 additions & 45 deletions resources/PhoneNumberMetadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1449,9 +1449,12 @@
)
)[46]\d{5}|
(?:
29(?:
54|
66
2(?:
657|
9(?:
54|
66
)
)|
3(?:
7(?:
Expand Down Expand Up @@ -1489,11 +1492,11 @@
02|
23
)|
657|
920
)|
3(?:
4(?:
46|
8[27]|
92
)|
Expand All @@ -1517,8 +1520,8 @@
3(?:
329|
4(?:
[47]6|
62|
76|
89
)|
564
Expand Down Expand Up @@ -1723,9 +1726,12 @@
)
)\d{5}|
9(?:
29(?:
54|
66
2(?:
657|
9(?:
54|
66
)
)|
3(?:
7(?:
Expand Down Expand Up @@ -1763,11 +1769,11 @@
02|
23
)|
657|
920
)|
3(?:
4(?:
46|
8[27]|
92
)|
Expand All @@ -1791,8 +1797,8 @@
3(?:
329|
4(?:
[47]6|
62|
76|
89
)|
564
Expand Down Expand Up @@ -3961,7 +3967,7 @@
6(?:
3[03-9]|
[69]\d|
7[0-6]
7[0-689]
)
)
)\d{4}
Expand Down Expand Up @@ -8278,16 +8284,22 @@
<leadingDigits>18[68]</leadingDigits>
<format>$1 $2</format>
</numberFormat>
<!-- Mobile format for 15x mobile numbers. -->
<numberFormat pattern="(\d{4})(\d{7})" nationalPrefixFormattingRule="$NP$FG">
<leadingDigits>15[1279]</leadingDigits>
<format>$1 $2</format>
</numberFormat>
<!-- Some mobile numbers (carrier services etc..) have a 6 digit NSN and need to be formatted
with 5 leading digits (as opposed to the 4.7 format).
These are all in the ranges 150, 155, 156 and 158. -->
<numberFormat pattern="(\d{5})(\d{6})" nationalPrefixFormattingRule="$NP$FG">
<leadingDigits>15[0568]</leadingDigits>
<format>$1 $2</format>
</numberFormat>
<!-- Mobile format for 15x mobile numbers. -->
<numberFormat pattern="(\d{4})(\d{7})" nationalPrefixFormattingRule="$NP$FG">
<leadingDigits>15[1279]</leadingDigits>
<leadingDigits>15[03568]</leadingDigits>
<leadingDigits>
15(?:
[0568]|
31
)
</leadingDigits>
<format>$1 $2</format>
</numberFormat>
<!-- Various UAN numbers. -->
Expand Down Expand Up @@ -8448,7 +8460,10 @@
<possibleLengths national="10,11"/>
<exampleNumber>15123456789</exampleNumber>
<nationalNumberPattern>
15[0-25-9]\d{8}|
15(?:
[0-25-9]\d\d|
310
)\d{6}|
1(?:
6[023]|
7\d
Expand Down Expand Up @@ -9176,7 +9191,10 @@
)|
2(?:
0(?:
000|
0(?:
00|
4\d
)|
(?:
19|
[2-7]\d
Expand Down Expand Up @@ -9730,17 +9748,10 @@
<format>$1</format>
<intlFormat>NA</intlFormat>
</numberFormat>
<!-- General format for 1-digit prefix (5-10 digit numbers). -->
<numberFormat pattern="(\d)(\d{4,9})" nationalPrefixFormattingRule="$NP$FG">
<leadingDigits>
[2568][1-8]|
3(?:
0[1-9]|
[1-9]
)|
9
</leadingDigits>
<format>$1 $2</format>
<!-- Format for 5 digit UAN numbers. -->
<numberFormat pattern="(\d{5})" nationalPrefixFormattingRule="$NP$FG">
<leadingDigits>20[2-59]</leadingDigits>
<format>$1</format>
</numberFormat>
<!-- Format for 6 digit short codes. -->
<numberFormat pattern="(\d{6})">
Expand All @@ -9751,16 +9762,20 @@
<!-- General format for 3-digit prefix (6-10 digit numbers). -->
<numberFormat pattern="(\d{3})(\d{3,7})" nationalPrefixFormattingRule="$NP$FG">
<leadingDigits>
[12]00|
[368]|
(?:
[1-3]0|
[68]
)0|
70[07-9]
</leadingDigits>
<format>$1 $2</format>
</numberFormat>
<!-- General format for 2-digit prefix (6-10 digit numbers). -->
<numberFormat pattern="(\d{2})(\d{4,8})" nationalPrefixFormattingRule="$NP$FG">
<leadingDigits>
[1245]|
[14]|
2[09]|
50|
7[135]
</leadingDigits>
<format>$1 $2</format>
Expand All @@ -9769,6 +9784,21 @@
<leadingDigits>7</leadingDigits>
<format>$1 $2</format>
</numberFormat>
<!-- General format for 1-digit prefix (5-10 digit numbers). -->
<numberFormat pattern="(\d)(\d{4,9})" nationalPrefixFormattingRule="$NP$FG">
<leadingDigits>
(?:
1[3-79]|
[2568]
)[1-8]|
3(?:
0[1-9]|
[1-9]
)|
9
</leadingDigits>
<format>$1 $2</format>
</numberFormat>
</availableFormats>
<generalDesc>
<nationalNumberPattern>
Expand Down Expand Up @@ -9821,7 +9851,11 @@
<nationalNumberPattern>
(?:
1[3-79][1-8]|
[235689][1-8]\d
[23568][1-8]\d|
9(?:
00|
[1-8]\d
)
)\d{2,6}
</nationalNumberPattern>
</fixedLine>
Expand Down Expand Up @@ -11034,7 +11068,7 @@
5[05]|
77|
88|
99
9[09]
)|
1(?:
1(?:
Expand Down Expand Up @@ -11079,7 +11113,7 @@
)\d{4}|
5(?:
0(?:
070|
0[17]0|
505
)|
1(?:
Expand Down Expand Up @@ -12411,7 +12445,7 @@
)\d{4}|
(?:
4(?:
4[015]|
4[0156]|
6[02357-9]
)|
5(?:
Expand All @@ -12425,6 +12459,7 @@
[268][0-57-9]|
7[0-79]
)|
709|
84[09]|
9(?:
0[1-9]|
Expand Down Expand Up @@ -24558,7 +24593,7 @@
<leadingDigits>
9(?:
[5-79]|
8[1-6]
8[1-7]
)
</leadingDigits>
<format>$1 $2</format>
Expand Down Expand Up @@ -24640,7 +24675,8 @@
9(?:
51|
6[129]|
[78][1-6]|
7[1-6]|
8[1-7]|
9[1-5]
)\d{6}
</nationalNumberPattern>
Expand Down Expand Up @@ -24862,8 +24898,7 @@
<generalDesc>
<nationalNumberPattern>
(?:
[2378]\d|
62|
[236-8]\d|
90
)\d{7}|
[23]\d{5}
Expand Down Expand Up @@ -24899,7 +24934,10 @@
<nationalNumberPattern>
7020\d{5}|
(?:
62\d|
6(?:
2\d|
40
)|
7(?:
0[013-9]|
1[0-3]|
Expand Down Expand Up @@ -25957,7 +25995,7 @@
<exampleNumber>81234567</exampleNumber>
<nationalNumberPattern>
8(?:
08[013]|
08[013-9]|
95[0-2]
)\d{4}|
(?:
Expand Down Expand Up @@ -28835,7 +28873,7 @@
73020\d
)\d{4}|
(?:
4722|
472[24]|
505[2-57-9]|
983[289]
)\d{6}|
Expand Down Expand Up @@ -28939,7 +28977,7 @@
73020\d
)\d{4}|
(?:
4722|
472[24]|
505[2-57-9]|
983[289]
)\d{6}|
Expand Down
4 changes: 0 additions & 4 deletions resources/carrier/en/1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -504,10 +504,6 @@
180999|Tricom
186825|Digicel
186826|Digicel
1868266|bmobile
1868267|bmobile
1868268|bmobile
1868269|bmobile
186827|bmobile
186828|bmobile
186829|bmobile
Expand Down
19 changes: 1 addition & 18 deletions resources/carrier/en/358.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
# Copyright (C) 2013 The Libphonenumber Authors

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at

# http://www.apache.org/licenses/LICENSE-2.0

# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# https://www.viestintavirasto.fi/en/internettelephone/numberingoftelecommunicationsnetworks/mobilenetworks/mobilenetworkareacodes.html

# Sonera and Tele Finland carriers are now Telia.

35840|Telia
35841|DNA
35842|Telia
Expand All @@ -25,6 +7,7 @@
3584323|Top Connect OU
3584324|Nord Connect SIA
3584325|NETTIA
3584326|Lancelot
358436|DNA
358438|DNA
35844|DNA
Expand Down
3 changes: 2 additions & 1 deletion resources/carrier/en/40.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

406|Vodafone
4062|Vodafone
4064|Orange
407000|Enigma-System
407013|Lycamobile
407014|Lycamobile
Expand Down
Loading

0 comments on commit f6a3635

Please sign in to comment.