< prev index next >

src/java.base/share/classes/java/time/chrono/JapaneseEra.java

Print this page
rev 53080 : imported patch 8216176

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