test/java/util/Calendar/Bug8185841.java
author rriggs
Wed, 08 Nov 2017 09:18:15 -0500
changeset 47714 28e37caf50c1
parent 47473 5d798d729fec
permissions -rw-r--r--
8190884: java/lang/Runtime/exec/LotsOfOutput fails intermittently Reviewed-by: lancea, mchung
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
47473
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
     1
/*
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
     2
 * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
     4
 *
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
     7
 * published by the Free Software Foundation.
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
     8
 *
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    13
 * accompanied this code).
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    14
 *
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    18
 *
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    21
 * questions.
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    22
 */
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    23
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    24
 /*
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    25
 * @test
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    26
 * @bug 8185841
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    27
 * @summary Test that Region dependent Bundles are added/removed correctly.
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    28
 * @modules jdk.localedata
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    29
 */
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    30
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    31
 /*
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    32
This test is dependent on a particular version of CLDR.
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    33
 */
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    34
import java.net.URI;
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    35
import java.nio.file.FileSystem;
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    36
import java.nio.file.FileSystems;
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    37
import java.nio.file.Files;
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    38
import java.nio.file.Path;
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    39
import java.util.Collections;
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    40
import java.util.HashSet;
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    41
import java.util.Set;
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    42
import java.util.stream.Collectors;
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    43
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    44
public class Bug8185841 {
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    45
    // Golden data for Region dependent Bundles in CLDR29.
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    46
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    47
    private static final Set<String> expectedBundles
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    48
            = Set.of("CalendarData_af_NA.class", "CalendarData_af_ZA.class", "CalendarData_agq_CM.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    49
                    "CalendarData_ak_GH.class", "CalendarData_am_ET.class", "CalendarData_ar_AE.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    50
                    "CalendarData_ar_BH.class", "CalendarData_ar_DJ.class", "CalendarData_ar_DZ.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    51
                    "CalendarData_ar_EG.class", "CalendarData_ar_EH.class", "CalendarData_ar_ER.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    52
                    "CalendarData_ar_IL.class", "CalendarData_ar_IQ.class", "CalendarData_ar_JO.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    53
                    "CalendarData_ar_KM.class", "CalendarData_ar_KW.class", "CalendarData_ar_LB.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    54
                    "CalendarData_ar_LY.class", "CalendarData_ar_MA.class", "CalendarData_ar_MR.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    55
                    "CalendarData_ar_OM.class", "CalendarData_ar_PS.class", "CalendarData_ar_QA.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    56
                    "CalendarData_ar_SA.class", "CalendarData_ar_SD.class", "CalendarData_ar_SO.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    57
                    "CalendarData_ar_SS.class", "CalendarData_ar_SY.class", "CalendarData_ar_TD.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    58
                    "CalendarData_ar_TN.class", "CalendarData_ar_YE.class", "CalendarData_as_IN.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    59
                    "CalendarData_asa_TZ.class", "CalendarData_ast_ES.class", "CalendarData_az_AZ.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    60
                    "CalendarData_az_Cyrl_AZ.class", "CalendarData_bas_CM.class", "CalendarData_be_BY.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    61
                    "CalendarData_bem_ZM.class", "CalendarData_bez_TZ.class", "CalendarData_bg_BG.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    62
                    "CalendarData_bm_ML.class", "CalendarData_bn_BD.class", "CalendarData_bn_IN.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    63
                    "CalendarData_bo_CN.class", "CalendarData_bo_IN.class", "CalendarData_br_FR.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    64
                    "CalendarData_brx_IN.class", "CalendarData_bs_BA.class", "CalendarData_bs_Cyrl_BA.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    65
                    "CalendarData_ca_AD.class", "CalendarData_ca_ES.class", "CalendarData_ca_FR.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    66
                    "CalendarData_ca_IT.class", "CalendarData_ce_RU.class", "CalendarData_cgg_UG.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    67
                    "CalendarData_chr_US.class", "CalendarData_ckb_IQ.class", "CalendarData_ckb_IR.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    68
                    "CalendarData_cs_CZ.class", "CalendarData_cu_RU.class", "CalendarData_cy_GB.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    69
                    "CalendarData_da_DK.class", "CalendarData_da_GL.class", "CalendarData_dav_KE.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    70
                    "CalendarData_de_AT.class", "CalendarData_de_BE.class", "CalendarData_de_CH.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    71
                    "CalendarData_de_DE.class", "CalendarData_de_LI.class", "CalendarData_de_LU.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    72
                    "CalendarData_dje_NE.class", "CalendarData_dsb_DE.class", "CalendarData_dua_CM.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    73
                    "CalendarData_dyo_SN.class", "CalendarData_dz_BT.class", "CalendarData_ebu_KE.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    74
                    "CalendarData_ee_GH.class", "CalendarData_ee_TG.class", "CalendarData_el_CY.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    75
                    "CalendarData_el_GR.class", "CalendarData_en_AG.class", "CalendarData_en_AI.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    76
                    "CalendarData_en_AS.class", "CalendarData_en_AT.class", "CalendarData_en_AU.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    77
                    "CalendarData_en_BB.class", "CalendarData_en_BE.class", "CalendarData_en_BI.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    78
                    "CalendarData_en_BM.class", "CalendarData_en_BS.class", "CalendarData_en_BW.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    79
                    "CalendarData_en_BZ.class", "CalendarData_en_CA.class", "CalendarData_en_CC.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    80
                    "CalendarData_en_CH.class", "CalendarData_en_CK.class", "CalendarData_en_CM.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    81
                    "CalendarData_en_CX.class", "CalendarData_en_CY.class", "CalendarData_en_DE.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    82
                    "CalendarData_en_DG.class", "CalendarData_en_DK.class", "CalendarData_en_DM.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    83
                    "CalendarData_en_ER.class", "CalendarData_en_FI.class", "CalendarData_en_FJ.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    84
                    "CalendarData_en_FK.class", "CalendarData_en_FM.class", "CalendarData_en_GB.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    85
                    "CalendarData_en_GD.class", "CalendarData_en_GG.class", "CalendarData_en_GH.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    86
                    "CalendarData_en_GI.class", "CalendarData_en_GM.class", "CalendarData_en_GU.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    87
                    "CalendarData_en_GY.class", "CalendarData_en_HK.class", "CalendarData_en_IE.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    88
                    "CalendarData_en_IL.class", "CalendarData_en_IM.class", "CalendarData_en_IN.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    89
                    "CalendarData_en_IO.class", "CalendarData_en_JE.class", "CalendarData_en_JM.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    90
                    "CalendarData_en_KE.class", "CalendarData_en_KI.class", "CalendarData_en_KN.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    91
                    "CalendarData_en_KY.class", "CalendarData_en_LC.class", "CalendarData_en_LR.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    92
                    "CalendarData_en_LS.class", "CalendarData_en_MG.class", "CalendarData_en_MH.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    93
                    "CalendarData_en_MO.class", "CalendarData_en_MP.class", "CalendarData_en_MS.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    94
                    "CalendarData_en_MT.class", "CalendarData_en_MU.class", "CalendarData_en_MW.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    95
                    "CalendarData_en_MY.class", "CalendarData_en_NA.class", "CalendarData_en_NF.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    96
                    "CalendarData_en_NG.class", "CalendarData_en_NL.class", "CalendarData_en_NR.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    97
                    "CalendarData_en_NU.class", "CalendarData_en_NZ.class", "CalendarData_en_PG.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    98
                    "CalendarData_en_PH.class", "CalendarData_en_PK.class", "CalendarData_en_PN.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
    99
                    "CalendarData_en_PR.class", "CalendarData_en_PW.class", "CalendarData_en_RW.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   100
                    "CalendarData_en_SB.class", "CalendarData_en_SC.class", "CalendarData_en_SD.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   101
                    "CalendarData_en_SE.class", "CalendarData_en_SG.class", "CalendarData_en_SH.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   102
                    "CalendarData_en_SI.class", "CalendarData_en_SL.class", "CalendarData_en_SS.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   103
                    "CalendarData_en_SX.class", "CalendarData_en_SZ.class", "CalendarData_en_TC.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   104
                    "CalendarData_en_TK.class", "CalendarData_en_TO.class", "CalendarData_en_TT.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   105
                    "CalendarData_en_TV.class", "CalendarData_en_TZ.class", "CalendarData_en_UG.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   106
                    "CalendarData_en_UM.class", "CalendarData_en_VC.class", "CalendarData_en_VG.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   107
                    "CalendarData_en_VI.class", "CalendarData_en_VU.class", "CalendarData_en_WS.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   108
                    "CalendarData_en_ZA.class", "CalendarData_en_ZM.class", "CalendarData_en_ZW.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   109
                    "CalendarData_es_AR.class", "CalendarData_es_BO.class", "CalendarData_es_BR.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   110
                    "CalendarData_es_CL.class", "CalendarData_es_CO.class", "CalendarData_es_CR.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   111
                    "CalendarData_es_CU.class", "CalendarData_es_DO.class", "CalendarData_es_EA.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   112
                    "CalendarData_es_EC.class", "CalendarData_es_ES.class", "CalendarData_es_GQ.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   113
                    "CalendarData_es_GT.class", "CalendarData_es_HN.class", "CalendarData_es_IC.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   114
                    "CalendarData_es_MX.class", "CalendarData_es_NI.class", "CalendarData_es_PA.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   115
                    "CalendarData_es_PE.class", "CalendarData_es_PH.class", "CalendarData_es_PR.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   116
                    "CalendarData_es_PY.class", "CalendarData_es_SV.class", "CalendarData_es_US.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   117
                    "CalendarData_es_UY.class", "CalendarData_es_VE.class", "CalendarData_et_EE.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   118
                    "CalendarData_eu_ES.class", "CalendarData_ewo_CM.class", "CalendarData_fa_AF.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   119
                    "CalendarData_fa_IR.class", "CalendarData_ff_CM.class", "CalendarData_ff_GN.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   120
                    "CalendarData_ff_MR.class", "CalendarData_ff_SN.class", "CalendarData_fi_FI.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   121
                    "CalendarData_fil_PH.class", "CalendarData_fo_DK.class", "CalendarData_fo_FO.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   122
                    "CalendarData_fr_BE.class", "CalendarData_fr_BF.class", "CalendarData_fr_BI.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   123
                    "CalendarData_fr_BJ.class", "CalendarData_fr_BL.class", "CalendarData_fr_CA.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   124
                    "CalendarData_fr_CD.class", "CalendarData_fr_CF.class", "CalendarData_fr_CG.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   125
                    "CalendarData_fr_CH.class", "CalendarData_fr_CI.class", "CalendarData_fr_CM.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   126
                    "CalendarData_fr_DJ.class", "CalendarData_fr_DZ.class", "CalendarData_fr_FR.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   127
                    "CalendarData_fr_GA.class", "CalendarData_fr_GF.class", "CalendarData_fr_GN.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   128
                    "CalendarData_fr_GP.class", "CalendarData_fr_GQ.class", "CalendarData_fr_HT.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   129
                    "CalendarData_fr_KM.class", "CalendarData_fr_LU.class", "CalendarData_fr_MA.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   130
                    "CalendarData_fr_MC.class", "CalendarData_fr_MF.class", "CalendarData_fr_MG.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   131
                    "CalendarData_fr_ML.class", "CalendarData_fr_MQ.class", "CalendarData_fr_MR.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   132
                    "CalendarData_fr_MU.class", "CalendarData_fr_NC.class", "CalendarData_fr_NE.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   133
                    "CalendarData_fr_PF.class", "CalendarData_fr_PM.class", "CalendarData_fr_RE.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   134
                    "CalendarData_fr_RW.class", "CalendarData_fr_SC.class", "CalendarData_fr_SN.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   135
                    "CalendarData_fr_SY.class", "CalendarData_fr_TD.class", "CalendarData_fr_TG.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   136
                    "CalendarData_fr_TN.class", "CalendarData_fr_VU.class", "CalendarData_fr_WF.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   137
                    "CalendarData_fr_YT.class", "CalendarData_fur_IT.class", "CalendarData_fy_NL.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   138
                    "CalendarData_ga_IE.class", "CalendarData_gd_GB.class", "CalendarData_gl_ES.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   139
                    "CalendarData_gsw_CH.class", "CalendarData_gsw_FR.class", "CalendarData_gsw_LI.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   140
                    "CalendarData_gu_IN.class", "CalendarData_guz_KE.class", "CalendarData_gv_IM.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   141
                    "CalendarData_ha_GH.class", "CalendarData_ha_NE.class", "CalendarData_ha_NG.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   142
                    "CalendarData_haw_US.class", "CalendarData_hi_IN.class", "CalendarData_hr_BA.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   143
                    "CalendarData_hr_HR.class", "CalendarData_hsb_DE.class", "CalendarData_hu_HU.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   144
                    "CalendarData_hy_AM.class", "CalendarData_ig_NG.class", "CalendarData_ii_CN.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   145
                    "CalendarData_in_ID.class", "CalendarData_is_IS.class", "CalendarData_it_CH.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   146
                    "CalendarData_it_IT.class", "CalendarData_it_SM.class", "CalendarData_iw_IL.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   147
                    "CalendarData_ja_JP.class", "CalendarData_jgo_CM.class", "CalendarData_jmc_TZ.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   148
                    "CalendarData_ka_GE.class", "CalendarData_kab_DZ.class", "CalendarData_kam_KE.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   149
                    "CalendarData_kde_TZ.class", "CalendarData_kea_CV.class", "CalendarData_khq_ML.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   150
                    "CalendarData_ki_KE.class", "CalendarData_kk_KZ.class", "CalendarData_kkj_CM.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   151
                    "CalendarData_kl_GL.class", "CalendarData_kln_KE.class", "CalendarData_km_KH.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   152
                    "CalendarData_kn_IN.class", "CalendarData_ko_KP.class", "CalendarData_ko_KR.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   153
                    "CalendarData_kok_IN.class", "CalendarData_ks_IN.class", "CalendarData_ksb_TZ.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   154
                    "CalendarData_ksf_CM.class", "CalendarData_ksh_DE.class", "CalendarData_kw_GB.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   155
                    "CalendarData_ky_KG.class", "CalendarData_lag_TZ.class", "CalendarData_lb_LU.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   156
                    "CalendarData_lg_UG.class", "CalendarData_lkt_US.class", "CalendarData_ln_AO.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   157
                    "CalendarData_ln_CD.class", "CalendarData_ln_CF.class", "CalendarData_ln_CG.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   158
                    "CalendarData_lo_LA.class", "CalendarData_lrc_IQ.class", "CalendarData_lrc_IR.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   159
                    "CalendarData_lt_LT.class", "CalendarData_lu_CD.class", "CalendarData_luo_KE.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   160
                    "CalendarData_luy_KE.class", "CalendarData_lv_LV.class", "CalendarData_mas_KE.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   161
                    "CalendarData_mas_TZ.class", "CalendarData_mer_KE.class", "CalendarData_mfe_MU.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   162
                    "CalendarData_mg_MG.class", "CalendarData_mgh_MZ.class", "CalendarData_mgo_CM.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   163
                    "CalendarData_mk_MK.class", "CalendarData_ml_IN.class", "CalendarData_mn_MN.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   164
                    "CalendarData_mr_IN.class", "CalendarData_ms_BN.class", "CalendarData_ms_MY.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   165
                    "CalendarData_ms_SG.class", "CalendarData_mt_MT.class", "CalendarData_mua_CM.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   166
                    "CalendarData_my_MM.class", "CalendarData_mzn_IR.class", "CalendarData_naq_NA.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   167
                    "CalendarData_nb_NO.class", "CalendarData_nb_SJ.class", "CalendarData_nd_ZW.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   168
                    "CalendarData_ne_IN.class", "CalendarData_ne_NP.class", "CalendarData_nl_AW.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   169
                    "CalendarData_nl_BE.class", "CalendarData_nl_BQ.class", "CalendarData_nl_CW.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   170
                    "CalendarData_nl_NL.class", "CalendarData_nl_SR.class", "CalendarData_nl_SX.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   171
                    "CalendarData_nmg_CM.class", "CalendarData_nnh_CM.class", "CalendarData_nus_SS.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   172
                    "CalendarData_nyn_UG.class", "CalendarData_om_ET.class", "CalendarData_om_KE.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   173
                    "CalendarData_or_IN.class", "CalendarData_os_GE.class", "CalendarData_os_RU.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   174
                    "CalendarData_pa_Arab_PK.class", "CalendarData_pa_IN.class", "CalendarData_pa_PK.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   175
                    "CalendarData_pl_PL.class", "CalendarData_ps_AF.class", "CalendarData_pt_AO.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   176
                    "CalendarData_pt_BR.class", "CalendarData_pt_CV.class", "CalendarData_pt_GQ.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   177
                    "CalendarData_pt_GW.class", "CalendarData_pt_MO.class", "CalendarData_pt_MZ.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   178
                    "CalendarData_pt_PT.class", "CalendarData_pt_ST.class", "CalendarData_pt_TL.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   179
                    "CalendarData_qu_BO.class", "CalendarData_qu_EC.class", "CalendarData_qu_PE.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   180
                    "CalendarData_rm_CH.class", "CalendarData_rn_BI.class", "CalendarData_ro_MD.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   181
                    "CalendarData_ro_RO.class", "CalendarData_rof_TZ.class", "CalendarData_ru_BY.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   182
                    "CalendarData_ru_KG.class", "CalendarData_ru_KZ.class", "CalendarData_ru_MD.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   183
                    "CalendarData_ru_RU.class", "CalendarData_ru_UA.class", "CalendarData_rw_RW.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   184
                    "CalendarData_rwk_TZ.class", "CalendarData_sah_RU.class", "CalendarData_saq_KE.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   185
                    "CalendarData_sbp_TZ.class", "CalendarData_se_FI.class", "CalendarData_se_NO.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   186
                    "CalendarData_se_SE.class", "CalendarData_seh_MZ.class", "CalendarData_ses_ML.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   187
                    "CalendarData_sg_CF.class", "CalendarData_shi_Latn_MA.class", "CalendarData_shi_MA.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   188
                    "CalendarData_si_LK.class", "CalendarData_sk_SK.class", "CalendarData_sl_SI.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   189
                    "CalendarData_smn_FI.class", "CalendarData_sn_ZW.class", "CalendarData_so_DJ.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   190
                    "CalendarData_so_ET.class", "CalendarData_so_KE.class", "CalendarData_so_SO.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   191
                    "CalendarData_sq_AL.class", "CalendarData_sq_MK.class", "CalendarData_sq_XK.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   192
                    "CalendarData_sr_BA.class", "CalendarData_sr_Latn_BA.class", "CalendarData_sr_Latn_ME.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   193
                    "CalendarData_sr_Latn_RS.class", "CalendarData_sr_Latn_XK.class", "CalendarData_sr_ME.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   194
                    "CalendarData_sr_RS.class", "CalendarData_sr_XK.class", "CalendarData_sv_AX.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   195
                    "CalendarData_sv_FI.class", "CalendarData_sv_SE.class", "CalendarData_sw_CD.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   196
                    "CalendarData_sw_KE.class", "CalendarData_sw_TZ.class", "CalendarData_sw_UG.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   197
                    "CalendarData_ta_IN.class", "CalendarData_ta_LK.class", "CalendarData_ta_MY.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   198
                    "CalendarData_ta_SG.class", "CalendarData_te_IN.class", "CalendarData_teo_KE.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   199
                    "CalendarData_teo_UG.class", "CalendarData_th_TH.class", "CalendarData_ti_ER.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   200
                    "CalendarData_ti_ET.class", "CalendarData_tk_TM.class", "CalendarData_to_TO.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   201
                    "CalendarData_tr_CY.class", "CalendarData_tr_TR.class", "CalendarData_twq_NE.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   202
                    "CalendarData_tzm_MA.class", "CalendarData_ug_CN.class", "CalendarData_uk_UA.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   203
                    "CalendarData_ur_IN.class", "CalendarData_ur_PK.class", "CalendarData_uz_AF.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   204
                    "CalendarData_uz_Arab_AF.class", "CalendarData_uz_Cyrl_UZ.class", "CalendarData_uz_UZ.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   205
                    "CalendarData_vai_LR.class", "CalendarData_vai_Latn_LR.class", "CalendarData_vi_VN.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   206
                    "CalendarData_vun_TZ.class", "CalendarData_wae_CH.class", "CalendarData_xog_UG.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   207
                    "CalendarData_yav_CM.class", "CalendarData_yo_BJ.class", "CalendarData_yo_NG.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   208
                    "CalendarData_yue_HK.class", "CalendarData_zgh_MA.class", "CalendarData_zh_CN.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   209
                    "CalendarData_zh_HK.class", "CalendarData_zh_Hant_HK.class", "CalendarData_zh_Hant_TW.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   210
                    "CalendarData_zh_MO.class", "CalendarData_zh_SG.class", "CalendarData_zh_TW.class", "CalendarData_zu_ZA.class");
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   211
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   212
    private static Set<String> removedBundles = Set.of(
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   213
            "CalendarData_az_Latn_AZ.class", "CalendarData_bs_Latn_BA.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   214
            "CalendarData_pa_Guru_IN.class", "CalendarData_shi_Tfng_MA.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   215
            "CalendarData_sr_Cyrl_BA.class", "CalendarData_sr_Cyrl_ME.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   216
            "CalendarData_sr_Cyrl_RS.class", "CalendarData_sr_Cyrl_XK.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   217
            "CalendarData_uz_Latn_UZ.class", "CalendarData_vai_Vaii_LR.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   218
            "CalendarData_zh_Hans_CN.class", "CalendarData_zh_Hans_HK.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   219
            "CalendarData_zh_Hans_MO.class", "CalendarData_zh_Hans_SG.class");
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   220
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   221
    private static Set<String> addedBundles = Set.of(
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   222
            "CalendarData_az_AZ.class", "CalendarData_bs_BA.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   223
            "CalendarData_pa_IN.class", "CalendarData_pa_PK.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   224
            "CalendarData_shi_MA.class", "CalendarData_sr_BA.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   225
            "CalendarData_sr_ME.class", "CalendarData_sr_RS.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   226
            "CalendarData_sr_XK.class", "CalendarData_uz_UZ.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   227
            "CalendarData_uz_AF.class", "CalendarData_vai_LR.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   228
            "CalendarData_zh_CN.class", "CalendarData_zh_HK.class",
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   229
            "CalendarData_zh_MO.class", "CalendarData_zh_SG.class", "CalendarData_zh_TW.class");
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   230
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   231
    private static Set<String> retrievedBundles = Collections.EMPTY_SET;
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   232
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   233
    public static void main(String[] args) throws Exception {
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   234
        FileSystem fs = FileSystems.newFileSystem(URI.create("jrt:/"),
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   235
                Collections.emptyMap());
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   236
        Path path = fs.getPath("/", "modules", "jdk.localedata", "sun/util/resources/cldr/ext");
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   237
        retrievedBundles = Files.walk(path)
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   238
                                .map(p -> p.getFileName().toString())
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   239
                                .filter(p -> p.startsWith("CalendarData_"))
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   240
                                .collect(Collectors.toSet());
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   241
        if (!retrievedBundles.equals(expectedBundles)) {
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   242
            checkAddedBundles();
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   243
            checkRemovedBundles();
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   244
            Set<String> retrievedBundlesSet = new HashSet<>(retrievedBundles);
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   245
            retrievedBundlesSet.removeAll(expectedBundles);
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   246
            throw new RuntimeException("Unexpected "
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   247
                    + " bundles " + retrievedBundlesSet + " are present in jdk.localedata module ");
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   248
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   249
        }
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   250
    }
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   251
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   252
    /**
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   253
     * This method checks that bundles which have been additionally generated
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   254
     * are present in jdk.localedata module.
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   255
     */
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   256
    private static void checkAddedBundles() {
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   257
        Set<String> addedBundlesSet = new HashSet<>(addedBundles);
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   258
        addedBundlesSet.removeAll(retrievedBundles);
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   259
        if (!addedBundlesSet.isEmpty()) {
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   260
            throw new RuntimeException("expected CalendarData"
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   261
                    + " bundles " + addedBundlesSet + " are not present in jdk.localedata module ");
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   262
        }
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   263
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   264
    }
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   265
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   266
    /**
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   267
     * This method checks that bundles which have been removed are not present
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   268
     * in jdk.localedata module.
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   269
     */
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   270
    private static void checkRemovedBundles() {
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   271
        Set<String> unexpectedBundles = removedBundles.stream().
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   272
                filter(retrievedBundles::contains).collect(Collectors.toSet());
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   273
        if (!unexpectedBundles.isEmpty()) {
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   274
            throw new RuntimeException("Unexpected CalendarData"
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   275
                    + " bundles " + unexpectedBundles + " are present in jdk.localedata module ");
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   276
        }
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   277
    }
5d798d729fec 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
rgoel
parents:
diff changeset
   278
}