equal
deleted
inserted
replaced
150 * which has the value 2. |
150 * which has the value 2. |
151 */ |
151 */ |
152 public static final JapaneseEra HEISEI = new JapaneseEra(2, LocalDate.of(1989, 1, 8)); |
152 public static final JapaneseEra HEISEI = new JapaneseEra(2, LocalDate.of(1989, 1, 8)); |
153 /** |
153 /** |
154 * The singleton instance for the 'Reiwa' era (2019-05-01 - ) |
154 * The singleton instance for the 'Reiwa' era (2019-05-01 - ) |
155 * which has the value 3. |
155 * which has the value 3. The end date of this era is not specified, unless |
156 */ |
156 * the Japanese Government defines it. |
157 private static final JapaneseEra REIWA = new JapaneseEra(3, LocalDate.of(2019, 5, 1)); |
157 */ |
|
158 public static final JapaneseEra REIWA = new JapaneseEra(3, LocalDate.of(2019, 5, 1)); |
158 |
159 |
159 // The number of predefined JapaneseEra constants. |
160 // The number of predefined JapaneseEra constants. |
160 // There may be a supplemental era defined by the property. |
161 // There may be a supplemental era defined by the property. |
161 private static final int N_ERA_CONSTANTS = REIWA.getValue() + ERA_OFFSET; |
162 private static final int N_ERA_CONSTANTS = REIWA.getValue() + ERA_OFFSET; |
162 |
163 |