jdk/src/share/classes/sun/util/calendar/Era.java
changeset 25966 71ee1f15845e
parent 5506 202f599c92aa
equal deleted inserted replaced
25851:cd6f4557e7fe 25966:71ee1f15845e
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2014, 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
    39  * system can be obtained by calling {@link CalendarSystem#getEras}
    39  * system can be obtained by calling {@link CalendarSystem#getEras}
    40  * one of which can be used to specify a date in
    40  * one of which can be used to specify a date in
    41  * <code>CalendarDate</code>.
    41  * <code>CalendarDate</code>.
    42  *
    42  *
    43  * <p>The following era names are defined in this release.
    43  * <p>The following era names are defined in this release.
    44  * <!-- TODO: use HTML table -->
    44  * <pre>{@code
    45  * <pre><tt>
       
    46  *   Calendar system         Era name         Since (in Gregorian)
    45  *   Calendar system         Era name         Since (in Gregorian)
    47  *   -----------------------------------------------------------------------
    46  *   -----------------------------------------------------------------------
    48  *   Japanese calendar       Meiji            1868-01-01 midnight local time
    47  *   Japanese calendar       Meiji            1868-01-01T00:00:00 local time
    49  *                           Taisho           1912-07-30 midnight local time
    48  *                           Taisho           1912-07-30T00:00:00 local time
    50  *                           Showa            1926-12-26 midnight local time
    49  *                           Showa            1926-12-25T00:00:00 local time
    51  *                           Heisei           1989-01-08 midnight local time
    50  *                           Heisei           1989-01-08T00:00:00 local time
    52  *   Julian calendar         BeforeCommonEra  -292275055-05-16T16:47:04.192Z
       
    53  *                           CommonEra        0000-12-30 midnight local time
       
    54  *   Taiwanese calendar      MinGuo           1911-01-01 midnight local time
       
    55  *   Thai Buddhist calendar  BuddhistEra      -543-01-01 midnight local time
       
    56  *   -----------------------------------------------------------------------
    51  *   -----------------------------------------------------------------------
    57  * </tt></pre>
    52  * }</pre>
    58  *
    53  *
    59  * @author Masayoshi Okutsu
    54  * @author Masayoshi Okutsu
    60  * @since 1.5
    55  * @since 1.5
    61  */
    56  */
    62 
    57