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 CO: 'CO', 50 CS: 'CS', 51 CX: 'CX', 52 DE: 'DE', 53 FR: 'FR', 54 GB: 'GB', 55 HU: 'HU', 56 IT: 'IT', 57 JP: 'JP', 58 KR: 'KR', 59 MX: 'MX', 60 NZ: 'NZ', 61 PL: 'PL', 62 RE: 'RE', 63 RU: 'RU', 64 SE: 'SE', 65 SG: 'SG', 66 US: 'US', 67 UZ: 'UZ', 68 YT: 'YT', 69 ZW: 'ZW', 70 // Official code for the unknown region. 71 ZZ: 'ZZ' 72}; 73