< prev index next >

src/share/classes/sun/util/calendar/Era.java

Print this page
rev 8819 : 8202088: Japanese new era implementation
8207152: Placeholder for Japanese new era should be two characters
8206120: Add test cases for lenient Japanese era parsing
Reviewed-by: coffeys, naoto
Contributed-by: deepak.kejriwal@oracle.com

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 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

@@ -47,10 +47,11 @@
  *   -----------------------------------------------------------------------
  *   Japanese calendar       Meiji            1868-01-01 midnight local time
  *                           Taisho           1912-07-30 midnight local time
  *                           Showa            1926-12-26 midnight local time
  *                           Heisei           1989-01-08 midnight local time
+ *                           NewEra           2019-05-01 midnight local time
  *   Julian calendar         BeforeCommonEra  -292275055-05-16T16:47:04.192Z
  *                           CommonEra        0000-12-30 midnight local time
  *   Taiwanese calendar      MinGuo           1911-01-01 midnight local time
  *   Thai Buddhist calendar  BuddhistEra      -543-01-01 midnight local time
  *   -----------------------------------------------------------------------
< prev index next >