RegionCode.java revision 203cf688f8d56e2c1f9828801b113110465f39a7
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
17package com.android.i18n.phonenumbers;
18
19/**
20 * Class containing string constants of region codes for easier testing.
21 */
22final 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 BY = "BY";
33  static final String CA = "CA";
34  static final String CN = "CN";
35  static final String CS = "CS";
36  static final String DE = "DE";
37  static final String GB = "GB";
38  static final String IT = "IT";
39  static final String JP = "JP";
40  static final String KR = "KR";
41  static final String MX = "MX";
42  static final String NZ = "NZ";
43  static final String PL = "PL";
44  static final String RE = "RE";
45  static final String SG = "SG";
46  static final String US = "US";
47  static final String YT = "YT";
48  static final String ZW = "ZW";
49  // Official code for the unknown region.
50  static final String ZZ = "ZZ";
51}
52