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 AO = "AO";
     27   static final String AQ = "AQ";
     28   static final String AR = "AR";
     29   static final String AU = "AU";
     30   static final String BR = "BR";
     31   static final String BS = "BS";
     32   static final String CA = "CA";
     33   static final String CN = "CN";
     34   static final String CS = "CS";
     35   static final String DE = "DE";
     36   static final String GB = "GB";
     37   static final String IT = "IT";
     38   static final String JP = "JP";
     39   static final String KR = "KR";
     40   static final String MX = "MX";
     41   static final String NZ = "NZ";
     42   static final String PL = "PL";
     43   static final String RE = "RE";
     44   static final String SG = "SG";
     45   static final String US = "US";
     46   static final String YT = "YT";
     47   static final String ZW = "ZW";
     48   // Official code for the unknown region.
     49   static final String ZZ = "ZZ";
     50 }
     51