--- old/src/jdk.localedata/share/classes/sun/text/resources/zh/FormatData_zh_HK.java 2015-06-04 14:20:09.064388502 -0700 +++ /dev/null 2015-05-13 09:23:32.700700965 -0700 @@ -1,123 +0,0 @@ -/* - * Copyright (c) 1998, 2013, 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. Oracle designates this - * particular file as subject to the "Classpath" exception as provided - * by Oracle in the LICENSE file that accompanied this code. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). - * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. - */ - -/* - * (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved - * (C) Copyright IBM Corp. 1996 - 1998 - All Rights Reserved - * - * The original version of this source code and documentation - * is copyrighted and owned by Taligent, Inc., a wholly-owned - * subsidiary of IBM. These materials are provided under terms - * of a License Agreement between Taligent and Sun. This technology - * is protected by multiple US and International patents. - * - * This notice and attribution to Taligent may not be removed. - * Taligent is a registered trademark of Taligent, Inc. - * - */ - -package sun.text.resources.zh; - -import sun.util.resources.ParallelListResourceBundle; -import java.util.Locale; -import java.util.ResourceBundle; -import sun.util.locale.provider.LocaleProviderAdapter; -import sun.util.locale.provider.ResourceBundleBasedAdapter; - -public class FormatData_zh_HK extends ParallelListResourceBundle { - - // reparent to zh_TW for traditional Chinese names - public FormatData_zh_HK() { - ResourceBundle bundle = ((ResourceBundleBasedAdapter)LocaleProviderAdapter.forJRE()) - .getLocaleData().getDateFormatData(Locale.TAIWAN); - setParent(bundle); - } - - /** - * Overrides ParallelListResourceBundle - */ - @Override - protected final Object[][] getContents() { - return new Object[][] { - { "MonthAbbreviations", - new String[] { - "1\u6708", // abb january - "2\u6708", // abb february - "3\u6708", // abb march - "4\u6708", // abb april - "5\u6708", // abb may - "6\u6708", // abb june - "7\u6708", // abb july - "8\u6708", // abb august - "9\u6708", // abb september - "10\u6708", // abb october - "11\u6708", // abb november - "12\u6708", // abb december - "" // abb month 13 if applicable - } - }, - { "DayAbbreviations", - new String[] { - "\u65e5", // abb Sunday - "\u4e00", // abb Monday - "\u4e8c", // abb Tuesday - "\u4e09", // abb Wednesday - "\u56db", // abb Thursday - "\u4e94", // abb Friday - "\u516d" // abb Saturday - } - }, - { "NumberPatterns", - new String[] { - "#,##0.###;-#,##0.###", // decimal pattern - "\u00A4#,##0.00;(\u00A4#,##0.00)", // currency pattern - "#,##0%" // percent pattern - } - }, - { "TimePatterns", - new String[] { - "ahh'\u6642'mm'\u5206'ss'\u79d2' z", // full time pattern - "ahh'\u6642'mm'\u5206'ss'\u79d2'", // long time pattern - "ahh:mm:ss", // medium time pattern - "ah:mm", // short time pattern - } - }, - { "DatePatterns", - new String[] { - "yyyy'\u5e74'MM'\u6708'dd'\u65e5' EEEE", // full date pattern - "yyyy'\u5e74'MM'\u6708'dd'\u65e5' EEEE", // long date pattern - "yyyy'\u5e74'M'\u6708'd'\u65e5'", // medium date pattern - "yy'\u5e74'M'\u6708'd'\u65e5'", // short date pattern - } - }, - { "DateTimePatterns", - new String[] { - "{1} {0}" // date-time pattern - } - }, - { "DateTimePatternChars", "GanjkHmsSEDFwWxhKzZ" }, - }; - } -} --- /dev/null 2015-05-13 09:23:32.700700965 -0700 +++ new/src/jdk.localedata/share/classes/sun/text/resources/zh/HK/FormatData_zh_HK.java 2015-06-04 14:20:08.747383283 -0700 @@ -0,0 +1,123 @@ +/* + * Copyright (c) 1998, 2013, 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. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +/* + * (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved + * (C) Copyright IBM Corp. 1996 - 1998 - All Rights Reserved + * + * The original version of this source code and documentation + * is copyrighted and owned by Taligent, Inc., a wholly-owned + * subsidiary of IBM. These materials are provided under terms + * of a License Agreement between Taligent and Sun. This technology + * is protected by multiple US and International patents. + * + * This notice and attribution to Taligent may not be removed. + * Taligent is a registered trademark of Taligent, Inc. + * + */ + +package sun.text.resources.zh.HK; + +import sun.util.resources.ParallelListResourceBundle; +import java.util.Locale; +import java.util.ResourceBundle; +import sun.util.locale.provider.LocaleProviderAdapter; +import sun.util.locale.provider.ResourceBundleBasedAdapter; + +public class FormatData_zh_HK extends ParallelListResourceBundle { + + // reparent to zh_TW for traditional Chinese names + public FormatData_zh_HK() { + ResourceBundle bundle = ((ResourceBundleBasedAdapter)LocaleProviderAdapter.forJRE()) + .getLocaleData().getDateFormatData(Locale.TAIWAN); + setParent(bundle); + } + + /** + * Overrides ParallelListResourceBundle + */ + @Override + protected final Object[][] getContents() { + return new Object[][] { + { "MonthAbbreviations", + new String[] { + "1\u6708", // abb january + "2\u6708", // abb february + "3\u6708", // abb march + "4\u6708", // abb april + "5\u6708", // abb may + "6\u6708", // abb june + "7\u6708", // abb july + "8\u6708", // abb august + "9\u6708", // abb september + "10\u6708", // abb october + "11\u6708", // abb november + "12\u6708", // abb december + "" // abb month 13 if applicable + } + }, + { "DayAbbreviations", + new String[] { + "\u65e5", // abb Sunday + "\u4e00", // abb Monday + "\u4e8c", // abb Tuesday + "\u4e09", // abb Wednesday + "\u56db", // abb Thursday + "\u4e94", // abb Friday + "\u516d" // abb Saturday + } + }, + { "NumberPatterns", + new String[] { + "#,##0.###;-#,##0.###", // decimal pattern + "\u00A4#,##0.00;(\u00A4#,##0.00)", // currency pattern + "#,##0%" // percent pattern + } + }, + { "TimePatterns", + new String[] { + "ahh'\u6642'mm'\u5206'ss'\u79d2' z", // full time pattern + "ahh'\u6642'mm'\u5206'ss'\u79d2'", // long time pattern + "ahh:mm:ss", // medium time pattern + "ah:mm", // short time pattern + } + }, + { "DatePatterns", + new String[] { + "yyyy'\u5e74'MM'\u6708'dd'\u65e5' EEEE", // full date pattern + "yyyy'\u5e74'MM'\u6708'dd'\u65e5' EEEE", // long date pattern + "yyyy'\u5e74'M'\u6708'd'\u65e5'", // medium date pattern + "yy'\u5e74'M'\u6708'd'\u65e5'", // short date pattern + } + }, + { "DateTimePatterns", + new String[] { + "{1} {0}" // date-time pattern + } + }, + { "DateTimePatternChars", "GanjkHmsSEDFwWxhKzZ" }, + }; + } +}