< prev index next >

test/jdk/sun/util/resources/cldr/Bug8134384.java

Print this page
rev 57986 : 8234347: "Turkey" meta time zone does not generate composed localized names
8236548: Localized time zone name inconsistency between English and other locales
Reviewed-by:

*** 1,7 **** /* ! * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 21,31 **** * questions. */ /* * @test ! * @bug 8134384 * @summary Tests CLDR TimeZoneNames has English names for all tzids * @run main/othervm -Djava.locale.providers=CLDR Bug8134384 */ import java.text.*; --- 21,31 ---- * questions. */ /* * @test ! * @bug 8134384 8234347 8236548 * @summary Tests CLDR TimeZoneNames has English names for all tzids * @run main/othervm -Djava.locale.providers=CLDR Bug8134384 */ import java.text.*;
*** 41,56 **** TimeZone.setDefault(TimeZone.getTimeZone(tz)); // Summer solstice String date1 = Date.from(Instant.parse("2015-06-21T00:00:00.00Z")).toString(); testParse(Locale.ENGLISH, date1, tz); testParse(Locale.US, date1, tz); - testParse(Locale.ROOT, date1, tz); // Winter solstice String date2 = Date.from(Instant.parse("2015-12-22T00:00:00.00Z")).toString(); testParse(Locale.ENGLISH, date2, tz); testParse(Locale.US, date2, tz); - testParse(Locale.ROOT, date2, tz); } } finally { TimeZone.setDefault(original); } } --- 41,54 ----
< prev index next >