test/jdk/java/util/TimeZone/TimeZoneTest.java
changeset 57667 79036e5e744b
parent 49904 cadca99d52e7
equal deleted inserted replaced
57666:850f456d1e22 57667:79036e5e744b
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 4028006 4044013 4096694 4107276 4107570 4112869 4130885 7039469 7126465 7158483
    26  * @bug 4028006 4044013 4096694 4107276 4107570 4112869 4130885 7039469 7126465 7158483
    27  *      8008577 8077685 8098547 8133321 8138716 8148446 8151876 8159684 8166875 8181157
    27  *      8008577 8077685 8098547 8133321 8138716 8148446 8151876 8159684 8166875 8181157
       
    28  *      8228469
    28  * @modules java.base/sun.util.resources
    29  * @modules java.base/sun.util.resources
    29  * @library /java/text/testlib
    30  * @library /java/text/testlib
    30  * @summary test TimeZone
    31  * @summary test TimeZone
    31  */
    32  */
    32 
    33 
   111             new ZoneDescriptor("IET", -300, true),
   112             new ZoneDescriptor("IET", -300, true),
   112             new ZoneDescriptor("EST", -300, false),
   113             new ZoneDescriptor("EST", -300, false),
   113             new ZoneDescriptor("PRT", -240, false),
   114             new ZoneDescriptor("PRT", -240, false),
   114             new ZoneDescriptor("CNT", -210, true),
   115             new ZoneDescriptor("CNT", -210, true),
   115             new ZoneDescriptor("AGT", -180, false),
   116             new ZoneDescriptor("AGT", -180, false),
   116             new ZoneDescriptor("BET", -180, true),
   117             new ZoneDescriptor("BET", -180, false),
   117             // new ZoneDescriptor("CAT", -60, false), // Wrong:
   118             // new ZoneDescriptor("CAT", -60, false), // Wrong:
   118             // As of bug 4130885, fix CAT (Central Africa)
   119             // As of bug 4130885, fix CAT (Central Africa)
   119             new ZoneDescriptor("CAT", 120, false), // Africa/Harare
   120             new ZoneDescriptor("CAT", 120, false), // Africa/Harare
   120             new ZoneDescriptor("GMT", 0, false),
   121             new ZoneDescriptor("GMT", 0, false),
   121             new ZoneDescriptor("UTC", 0, false),
   122             new ZoneDescriptor("UTC", 0, false),