1/** 2 * @license 3 * Copyright (C) 2011 The Libphonenumber Authors. 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); 6 * you may not use this file except in compliance with the License. 7 * You may obtain a copy of the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 * See the License for the specific language governing permissions and 15 * limitations under the License. 16 */ 17 18/** 19 * @fileoverview String constants of region codes for testing. 20 * @author Nikolaos Trogkanis 21 */ 22 23goog.provide('i18n.phonenumbers.RegionCode'); 24 25 26/** 27 * Enum containing string constants of region codes for easier testing. 28 * 29 * @enum {string} 30 */ 31i18n.phonenumbers.RegionCode = { 32 // Region code for global networks (e.g. +800 numbers). 33 UN001: '001', 34 AD: 'AD', 35 AE: 'AE', 36 AO: 'AO', 37 AQ: 'AQ', 38 AR: 'AR', 39 AM: 'AM', 40 AU: 'AU', 41 BB: 'BB', 42 BR: 'BR', 43 BS: 'BS', 44 BY: 'BY', 45 CA: 'CA', 46 CH: 'CH', 47 CL: 'CL', 48 CN: 'CN', 49 CS: 'CS', 50 CX: 'CX', 51 DE: 'DE', 52 FR: 'FR', 53 GB: 'GB', 54 HU: 'HU', 55 IT: 'IT', 56 JP: 'JP', 57 KR: 'KR', 58 MX: 'MX', 59 NZ: 'NZ', 60 PL: 'PL', 61 RE: 'RE', 62 RU: 'RU', 63 SE: 'SE', 64 SG: 'SG', 65 US: 'US', 66 UZ: 'UZ', 67 YT: 'YT', 68 ZW: 'ZW', 69 // Official code for the unknown region. 70 ZZ: 'ZZ' 71}; 72