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