equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved. |
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. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
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 |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
92 * Japan introduced the Gregorian calendar starting with Meiji 6. |
92 * Japan introduced the Gregorian calendar starting with Meiji 6. |
93 * Only Meiji and later eras are supported; |
93 * Only Meiji and later eras are supported; |
94 * dates before Meiji 6, January 1 are not supported. |
94 * dates before Meiji 6, January 1 are not supported. |
95 * The number of the valid eras may increase, as new eras may be |
95 * The number of the valid eras may increase, as new eras may be |
96 * defined by the Japanese government. Once an era is defined, |
96 * defined by the Japanese government. Once an era is defined, |
97 * subsequent versions of this class will add a singleton instance |
97 * future versions of the platform may add a singleton instance |
98 * for it. The defined era is expected to have a consecutive integer |
98 * for it. The defined era is expected to have a consecutive integer |
99 * associated with it. |
99 * associated with it. |
100 * |
100 * |
101 * @implSpec |
101 * @implSpec |
102 * This class is immutable and thread-safe. |
102 * This class is immutable and thread-safe. |