1 /*
2 * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
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
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
71 * Except as contained in this notice, the name of a copyright holder shall not
72 * be used in advertising or otherwise to promote the sale, use or other
73 * dealings in these Data Files or Software without prior written authorization
74 * of the copyright holder.
75 */
76
77 package sun.text.resources.ext;
78
79 import sun.util.resources.ParallelListResourceBundle;
80
81 public class FormatData_zh extends ParallelListResourceBundle {
82 /**
83 * Overrides ParallelListResourceBundle
84 */
85 @Override
86 protected final Object[][] getContents() {
87 final String[] rocEras = {
88 "\u6c11\u56fd\u524d",
89 "\u6c11\u56fd",
90 };
91 return new Object[][] {
92 { "MonthNames",
93 new String[] {
94 "\u4e00\u6708", // january
95 "\u4e8c\u6708", // february
96 "\u4e09\u6708", // march
97 "\u56db\u6708", // april
98 "\u4e94\u6708", // may
99 "\u516d\u6708", // june
100 "\u4e03\u6708", // july
101 "\u516b\u6708", // august
102 "\u4e5d\u6708", // september
103 "\u5341\u6708", // october
104 "\u5341\u4e00\u6708", // november
105 "\u5341\u4e8c\u6708", // december
106 "" // month 13 if applicable
107 }
108 },
109 { "standalone.MonthNames",
110 new String[] {
246 "\u516d",
247 }
248 },
249 { "standalone.DayNarrows",
250 new String[] {
251 "\u65e5",
252 "\u4e00",
253 "\u4e8c",
254 "\u4e09",
255 "\u56db",
256 "\u4e94",
257 "\u516d",
258 }
259 },
260 { "AmPmMarkers",
261 new String[] {
262 "\u4e0a\u5348", // am marker
263 "\u4e0b\u5348" // pm marker
264 }
265 },
266 { "Eras",
267 new String[] { // era strings
268 "\u516c\u5143\u524d",
269 "\u516c\u5143"
270 }
271 },
272 { "buddhist.Eras",
273 new String[] {
274 "BC",
275 "\u4f5b\u5386",
276 }
277 },
278 { "japanese.Eras",
279 new String[] {
280 "\u516c\u5143",
281 "\u660e\u6cbb",
282 "\u5927\u6b63",
283 "\u662d\u548c",
284 "\u5e73\u6210",
285 "\u4ee4\u548c",
286 }
287 },
288 { "TimePatterns",
289 new String[] {
290 "ahh'\u65f6'mm'\u5206'ss'\u79d2' z", // full time pattern
291 "ahh'\u65f6'mm'\u5206'ss'\u79d2'", // long time pattern
|
1 /*
2 * Copyright (c) 1996, 2019, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
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
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
71 * Except as contained in this notice, the name of a copyright holder shall not
72 * be used in advertising or otherwise to promote the sale, use or other
73 * dealings in these Data Files or Software without prior written authorization
74 * of the copyright holder.
75 */
76
77 package sun.text.resources.ext;
78
79 import sun.util.resources.ParallelListResourceBundle;
80
81 public class FormatData_zh extends ParallelListResourceBundle {
82 /**
83 * Overrides ParallelListResourceBundle
84 */
85 @Override
86 protected final Object[][] getContents() {
87 final String[] rocEras = {
88 "\u6c11\u56fd\u524d",
89 "\u6c11\u56fd",
90 };
91 final String[] gregoryEras = {
92 "\u516c\u5143\u524d",
93 "\u516c\u5143",
94 };
95 return new Object[][] {
96 { "MonthNames",
97 new String[] {
98 "\u4e00\u6708", // january
99 "\u4e8c\u6708", // february
100 "\u4e09\u6708", // march
101 "\u56db\u6708", // april
102 "\u4e94\u6708", // may
103 "\u516d\u6708", // june
104 "\u4e03\u6708", // july
105 "\u516b\u6708", // august
106 "\u4e5d\u6708", // september
107 "\u5341\u6708", // october
108 "\u5341\u4e00\u6708", // november
109 "\u5341\u4e8c\u6708", // december
110 "" // month 13 if applicable
111 }
112 },
113 { "standalone.MonthNames",
114 new String[] {
250 "\u516d",
251 }
252 },
253 { "standalone.DayNarrows",
254 new String[] {
255 "\u65e5",
256 "\u4e00",
257 "\u4e8c",
258 "\u4e09",
259 "\u56db",
260 "\u4e94",
261 "\u516d",
262 }
263 },
264 { "AmPmMarkers",
265 new String[] {
266 "\u4e0a\u5348", // am marker
267 "\u4e0b\u5348" // pm marker
268 }
269 },
270 { "Eras", gregoryEras },
271 { "short.Eras", gregoryEras },
272 { "buddhist.Eras",
273 new String[] {
274 "BC",
275 "\u4f5b\u5386",
276 }
277 },
278 { "japanese.Eras",
279 new String[] {
280 "\u516c\u5143",
281 "\u660e\u6cbb",
282 "\u5927\u6b63",
283 "\u662d\u548c",
284 "\u5e73\u6210",
285 "\u4ee4\u548c",
286 }
287 },
288 { "TimePatterns",
289 new String[] {
290 "ahh'\u65f6'mm'\u5206'ss'\u79d2' z", // full time pattern
291 "ahh'\u65f6'mm'\u5206'ss'\u79d2'", // long time pattern
|