Print this page
rev 5615 : 6336885: RFE: Locale Data Deployment Enhancements
4609153: Provide locale data for Indic locales
5104387: Support for gl_ES locale (galician language)
6337471: desktop/system locale preferences support
7056139: (cal) SPI support for locale-dependent Calendar parameters
7058206: Provide CalendarData SPI for week params and display field value names
7073852: Support multiple scripts for digits and decimal symbols per locale
7079560: [Fmt-Da] Context dependent month names support in SimpleDateFormat
7171324: getAvailableLocales() of locale sensitive services should return the actual availability of locales
7151414: (cal) Support calendar type identification
7168528: LocaleServiceProvider needs to be aware of Locale extensions
7171372: (cal) locale's default Calendar should be created if unknown calendar is specified
Summary: JEP 127: Improve Locale Data Packaging and Adopt Unicode CLDR Data (part 1 w/o Jigsaw. by Naoto Sato and Masayoshi Okutsu)
Split |
Close |
Expand all |
Collapse all |
--- old/src/share/classes/sun/text/resources/FormatData_zh.java
+++ new/src/share/classes/sun/text/resources/zh/FormatData_zh.java
1 1 /*
2 - * Copyright (c) 1996, 2005, Oracle and/or its affiliates. All rights reserved.
2 + * Copyright (c) 1996, 2012, Oracle and/or its affiliates. All rights reserved.
3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 4 *
5 5 * This code is free software; you can redistribute it and/or modify it
6 6 * under the terms of the GNU General Public License version 2 only, as
7 7 * published by the Free Software Foundation. Oracle designates this
8 8 * particular file as subject to the "Classpath" exception as provided
9 9 * by Oracle in the LICENSE file that accompanied this code.
10 10 *
11 11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 14 * version 2 for more details (a copy is included in the LICENSE file that
15 15 * accompanied this code).
16 16 *
17 17 * You should have received a copy of the GNU General Public License version
18 18 * 2 along with this work; if not, write to the Free Software Foundation,
19 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 20 *
21 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 22 * or visit www.oracle.com if you need additional information or have any
23 23 * questions.
24 24 */
25 25
26 26 /*
27 27 * (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved
28 28 * (C) Copyright IBM Corp. 1996 - 1999 - All Rights Reserved
29 29 *
30 30 * The original version of this source code and documentation
↓ open down ↓ |
18 lines elided |
↑ open up ↑ |
31 31 * is copyrighted and owned by Taligent, Inc., a wholly-owned
32 32 * subsidiary of IBM. These materials are provided under terms
33 33 * of a License Agreement between Taligent and Sun. This technology
34 34 * is protected by multiple US and International patents.
35 35 *
36 36 * This notice and attribution to Taligent may not be removed.
37 37 * Taligent is a registered trademark of Taligent, Inc.
38 38 *
39 39 */
40 40
41 -package sun.text.resources;
41 +package sun.text.resources.zh;
42 42
43 43 import java.util.ListResourceBundle;
44 44
45 45 public class FormatData_zh extends ListResourceBundle {
46 46 /**
47 47 * Overrides ListResourceBundle
48 48 */
49 49 protected final Object[][] getContents() {
50 50 return new Object[][] {
51 51 { "MonthNames",
52 52 new String[] {
53 53 "\u4e00\u6708", // january
54 54 "\u4e8c\u6708", // february
55 55 "\u4e09\u6708", // march
56 56 "\u56db\u6708", // april
57 57 "\u4e94\u6708", // may
58 58 "\u516d\u6708", // june
59 59 "\u4e03\u6708", // july
60 60 "\u516b\u6708", // august
61 61 "\u4e5d\u6708", // september
62 62 "\u5341\u6708", // october
63 63 "\u5341\u4e00\u6708", // november
64 64 "\u5341\u4e8c\u6708", // december
65 65 "" // month 13 if applicable
66 66 }
67 67 },
68 68 { "MonthAbbreviations",
69 69 new String[] {
70 70 "\u4e00\u6708", // abb january
71 71 "\u4e8c\u6708", // abb february
72 72 "\u4e09\u6708", // abb march
73 73 "\u56db\u6708", // abb april
74 74 "\u4e94\u6708", // abb may
75 75 "\u516d\u6708", // abb june
76 76 "\u4e03\u6708", // abb july
77 77 "\u516b\u6708", // abb august
78 78 "\u4e5d\u6708", // abb september
79 79 "\u5341\u6708", // abb october
80 80 "\u5341\u4e00\u6708", // abb november
81 81 "\u5341\u4e8c\u6708", // abb december
82 82 "" // abb month 13 if applicable
83 83 }
84 84 },
85 85 { "DayNames",
86 86 new String[] {
87 87 "\u661f\u671f\u65e5", // Sunday
88 88 "\u661f\u671f\u4e00", // Monday
89 89 "\u661f\u671f\u4e8c", // Tuesday
90 90 "\u661f\u671f\u4e09", // Wednesday
91 91 "\u661f\u671f\u56db", // Thursday
92 92 "\u661f\u671f\u4e94", // Friday
93 93 "\u661f\u671f\u516d" // Saturday
94 94 }
95 95 },
96 96 { "DayAbbreviations",
97 97 new String[] {
98 98 "\u661f\u671f\u65e5", // abb Sunday
99 99 "\u661f\u671f\u4e00", // abb Monday
100 100 "\u661f\u671f\u4e8c", // abb Tuesday
101 101 "\u661f\u671f\u4e09", // abb Wednesday
102 102 "\u661f\u671f\u56db", // abb Thursday
103 103 "\u661f\u671f\u4e94", // abb Friday
104 104 "\u661f\u671f\u516d" // abb Saturday
105 105 }
106 106 },
107 107 { "AmPmMarkers",
108 108 new String[] {
↓ open down ↓ |
57 lines elided |
↑ open up ↑ |
109 109 "\u4e0a\u5348", // am marker
110 110 "\u4e0b\u5348" // pm marker
111 111 }
112 112 },
113 113 { "Eras",
114 114 new String[] { // era strings
115 115 "\u516c\u5143\u524d",
116 116 "\u516c\u5143"
117 117 }
118 118 },
119 - { "DateTimePatterns",
119 + { "TimePatterns",
120 120 new String[] {
121 121 "ahh'\u65f6'mm'\u5206'ss'\u79d2' z", // full time pattern
122 122 "ahh'\u65f6'mm'\u5206'ss'\u79d2'", // long time pattern
123 123 "H:mm:ss", // medium time pattern
124 124 "ah:mm", // short time pattern
125 + }
126 + },
127 + { "DatePatterns",
128 + new String[] {
125 129 "yyyy'\u5e74'M'\u6708'd'\u65e5' EEEE", // full date pattern
126 130 "yyyy'\u5e74'M'\u6708'd'\u65e5'", // long date pattern
127 131 "yyyy-M-d", // medium date pattern
128 132 "yy-M-d", // short date pattern
133 + }
134 + },
135 + { "DateTimePatterns",
136 + new String[] {
129 137 "{1} {0}" // date-time pattern
130 138 }
131 139 },
132 140 };
133 141 }
134 142 }
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX