1 /*
2 * Copyright (c) 1996, 2014, 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
89 protected final Object[][] getContents() {
90 // Julian calendar era strings
91 final String[] julianEras = {
92 "BC",
93 "AD"
94 };
95
96 // Thai Buddhist calendar era strings
97 final String[] buddhistEras = {
98 "BC", // BC
99 "B.E." // Buddhist Era
100 };
101
102 // Japanese imperial calendar era abbreviations
103 final String[] japaneseEraAbbrs = {
104 "",
105 "M",
106 "T",
107 "S",
108 "H",
109 };
110
111 // Japanese imperial calendar era strings
112 final String[] japaneseEras = {
113 "",
114 "Meiji",
115 "Taisho",
116 "Showa",
117 "Heisei",
118 };
119
120 return new Object[][] {
121 { "MonthNames",
122 new String[] {
123 "January", // january
124 "February", // february
125 "March", // march
126 "April", // april
127 "May", // may
128 "June", // june
129 "July", // july
130 "August", // august
131 "September", // september
132 "October", // october
133 "November", // november
134 "December", // december
135 "" // month 13 if applicable
136 }
137 },
|
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
89 protected final Object[][] getContents() {
90 // Julian calendar era strings
91 final String[] julianEras = {
92 "BC",
93 "AD"
94 };
95
96 // Thai Buddhist calendar era strings
97 final String[] buddhistEras = {
98 "BC", // BC
99 "B.E." // Buddhist Era
100 };
101
102 // Japanese imperial calendar era abbreviations
103 final String[] japaneseEraAbbrs = {
104 "",
105 "M",
106 "T",
107 "S",
108 "H",
109 "N", // NewEra
110 };
111
112 // Japanese imperial calendar era strings
113 final String[] japaneseEras = {
114 "",
115 "Meiji",
116 "Taisho",
117 "Showa",
118 "Heisei",
119 "NewEra", // NewEra
120 };
121
122 return new Object[][] {
123 { "MonthNames",
124 new String[] {
125 "January", // january
126 "February", // february
127 "March", // march
128 "April", // april
129 "May", // may
130 "June", // june
131 "July", // july
132 "August", // august
133 "September", // september
134 "October", // october
135 "November", // november
136 "December", // december
137 "" // month 13 if applicable
138 }
139 },
|