1 /*
2 * Copyright (c) 2012, 2017, 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
97 * <th scope="row"rowspan="2" style="font-weight:normal; text-align:left; vertical-align:top">{@code "gregory"}</th>
98 * <th scope="row" rowspan="2" style="font-weight:normal; text-align:left; vertical-align:top">{@link Calendar#ERA}</th>
99 * <th scope="row" style="font-weight:normal">0</th>
100 * <td>{@link java.util.GregorianCalendar#BC} (BCE)</td>
101 * </tr>
102 * <tr>
103 * <th scope="row" style="font-weight:normal">1</th>
104 * <td>{@link java.util.GregorianCalendar#AD} (CE)</td>
105 * </tr>
106 * <tr>
107 * <th scope="row" rowspan="2" style="font-weight:normal; text-align:left; vertical-align:top">{@code "buddhist"}</th>
108 * <th scope="row" rowspan="2" style="font-weight:normal; text-align:left; vertical-align:top">{@link Calendar#ERA}</th>
109 * <th scope="row" style="font-weight:normal">0</th>
110 * <td>BC (BCE)</td>
111 * </tr>
112 * <tr>
113 * <th scope="row" style="font-weight:normal">1</th>
114 * <td>B.E. (Buddhist Era)</td>
115 * </tr>
116 * <tr>
117 * <th scope="row" rowspan="6" style="font-weight:normal; text-align:left; vertical-align:top">{@code "japanese"}</th>
118 * <th scope="row" rowspan="5" style="font-weight:normal; text-align:left; vertical-align:top">{@link Calendar#ERA}</th>
119 * <th scope="row" style="font-weight:normal">0</th>
120 * <td>Seireki (Before Meiji)</td>
121 * </tr>
122 * <tr>
123 * <th scope="row" style="font-weight:normal">1</th>
124 * <td>Meiji</td>
125 * </tr>
126 * <tr>
127 * <th scope="row" style="font-weight:normal">2</th>
128 * <td>Taisho</td>
129 * </tr>
130 * <tr>
131 * <th scope="row" style="font-weight:normal">3</th>
132 * <td>Showa</td>
133 * </tr>
134 * <tr>
135 * <th scope="row" style="font-weight:normal">4</th>
136 * <td >Heisei</td>
137 * </tr>
138 * <tr>
139 * <th scope="row" style="font-weight:normal; text-align:left; vertical-align:top">{@link Calendar#YEAR}</th>
140 * <th scope="row" style="font-weight:normal">1</th>
141 * <td>the first year in each era. It should be returned when a long
142 * style ({@link Calendar#LONG_FORMAT} or {@link Calendar#LONG_STANDALONE}) is
143 * specified. See also the <a href="../../text/SimpleDateFormat.html#year">
144 * Year representation in {@code SimpleDateFormat}</a>.</td>
145 * </tr>
146 * <tr>
147 * <th scope="row" rowspan="2" style="font-weight:normal; text-align:left; vertical-align:top">{@code "roc"}</th>
148 * <th scope="row" rowspan="2" style="font-weight:normal; text-align:left; vertical-align:top">{@link Calendar#ERA}</th>
149 * <th scope="row" style="font-weight:normal">0</th>
150 * <td>Before R.O.C.</td>
151 * </tr>
152 * <tr>
153 * <th scope="row" style="font-weight:normal">1</th>
154 * <td>R.O.C.</td>
155 * </tr>
156 * <tr>
|
1 /*
2 * Copyright (c) 2012, 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
97 * <th scope="row"rowspan="2" style="font-weight:normal; text-align:left; vertical-align:top">{@code "gregory"}</th>
98 * <th scope="row" rowspan="2" style="font-weight:normal; text-align:left; vertical-align:top">{@link Calendar#ERA}</th>
99 * <th scope="row" style="font-weight:normal">0</th>
100 * <td>{@link java.util.GregorianCalendar#BC} (BCE)</td>
101 * </tr>
102 * <tr>
103 * <th scope="row" style="font-weight:normal">1</th>
104 * <td>{@link java.util.GregorianCalendar#AD} (CE)</td>
105 * </tr>
106 * <tr>
107 * <th scope="row" rowspan="2" style="font-weight:normal; text-align:left; vertical-align:top">{@code "buddhist"}</th>
108 * <th scope="row" rowspan="2" style="font-weight:normal; text-align:left; vertical-align:top">{@link Calendar#ERA}</th>
109 * <th scope="row" style="font-weight:normal">0</th>
110 * <td>BC (BCE)</td>
111 * </tr>
112 * <tr>
113 * <th scope="row" style="font-weight:normal">1</th>
114 * <td>B.E. (Buddhist Era)</td>
115 * </tr>
116 * <tr>
117 * <th scope="row" rowspan="7" style="font-weight:normal; text-align:left; vertical-align:top">{@code "japanese"}</th>
118 * <th scope="row" rowspan="6" style="font-weight:normal; text-align:left; vertical-align:top">{@link Calendar#ERA}</th>
119 * <th scope="row" style="font-weight:normal">0</th>
120 * <td>Seireki (Before Meiji)</td>
121 * </tr>
122 * <tr>
123 * <th scope="row" style="font-weight:normal">1</th>
124 * <td>Meiji</td>
125 * </tr>
126 * <tr>
127 * <th scope="row" style="font-weight:normal">2</th>
128 * <td>Taisho</td>
129 * </tr>
130 * <tr>
131 * <th scope="row" style="font-weight:normal">3</th>
132 * <td>Showa</td>
133 * </tr>
134 * <tr>
135 * <th scope="row" style="font-weight:normal">4</th>
136 * <td>Heisei</td>
137 * </tr>
138 * <tr>
139 * <th scope="row" style="font-weight:normal">5</th>
140 * <td>Reiwa</td>
141 * </tr>
142 * <tr>
143 * <th scope="row" style="font-weight:normal; text-align:left; vertical-align:top">{@link Calendar#YEAR}</th>
144 * <th scope="row" style="font-weight:normal">1</th>
145 * <td>the first year in each era. It should be returned when a long
146 * style ({@link Calendar#LONG_FORMAT} or {@link Calendar#LONG_STANDALONE}) is
147 * specified. See also the <a href="../../text/SimpleDateFormat.html#year">
148 * Year representation in {@code SimpleDateFormat}</a>.</td>
149 * </tr>
150 * <tr>
151 * <th scope="row" rowspan="2" style="font-weight:normal; text-align:left; vertical-align:top">{@code "roc"}</th>
152 * <th scope="row" rowspan="2" style="font-weight:normal; text-align:left; vertical-align:top">{@link Calendar#ERA}</th>
153 * <th scope="row" style="font-weight:normal">0</th>
154 * <td>Before R.O.C.</td>
155 * </tr>
156 * <tr>
157 * <th scope="row" style="font-weight:normal">1</th>
158 * <td>R.O.C.</td>
159 * </tr>
160 * <tr>
|