jdk/src/java.base/share/classes/java/time/chrono/ThaiBuddhistEra.java
changeset 45124 144479e89cdb
parent 44846 b3f9f5bf40b2
child 46149 b515ebc3db98
equal deleted inserted replaced
45123:e0a225dbc346 45124:144479e89cdb
     1 /*
     1 /*
     2  * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2012, 2017, 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
    69  * The Thai Buddhist calendar system has two eras.
    69  * The Thai Buddhist calendar system has two eras.
    70  * The current era, for years from 1 onwards, is known as the 'Buddhist' era.
    70  * The current era, for years from 1 onwards, is known as the 'Buddhist' era.
    71  * All previous years, zero or earlier in the proleptic count or one and greater
    71  * All previous years, zero or earlier in the proleptic count or one and greater
    72  * in the year-of-era count, are part of the 'Before Buddhist' era.
    72  * in the year-of-era count, are part of the 'Before Buddhist' era.
    73  *
    73  *
    74  * <table summary="Buddhist years and eras" cellpadding="2" cellspacing="3" border="0" >
    74  * <table class="striped">
       
    75  * <caption style="display:none">Buddhist years and eras</caption>
    75  * <thead>
    76  * <thead>
    76  * <tr class="tableSubHeadingColor">
    77  * <tr>
    77  * <th class="colFirst" style="text-align:left">year-of-era</th>
    78  * <th style="text-align:left">year-of-era</th>
    78  * <th class="colFirst" style="text-align:left">era</th>
    79  * <th style="text-align:left">era</th>
    79  * <th class="colFirst" style="text-align:left">proleptic-year</th>
    80  * <th style="text-align:left">proleptic-year</th>
    80  * <th class="colLast" style="text-align:left">ISO proleptic-year</th>
    81  * <th style="text-align:left">ISO proleptic-year</th>
    81  * </tr>
    82  * </tr>
    82  * </thead>
    83  * </thead>
    83  * <tbody>
    84  * <tbody>
    84  * <tr class="rowColor">
    85  * <tr>
    85  * <td>2</td><td>BE</td><td>2</td><td>-542</td>
    86  * <td>2</td><td>BE</td><td>2</td><td>-542</td>
    86  * </tr>
    87  * </tr>
    87  * <tr class="altColor">
    88  * <tr>
    88  * <td>1</td><td>BE</td><td>1</td><td>-543</td>
    89  * <td>1</td><td>BE</td><td>1</td><td>-543</td>
    89  * </tr>
    90  * </tr>
    90  * <tr class="rowColor">
    91  * <tr>
    91  * <td>1</td><td>BEFORE_BE</td><td>0</td><td>-544</td>
    92  * <td>1</td><td>BEFORE_BE</td><td>0</td><td>-544</td>
    92  * </tr>
    93  * </tr>
    93  * <tr class="altColor">
    94  * <tr>
    94  * <td>2</td><td>BEFORE_BE</td><td>-1</td><td>-545</td>
    95  * <td>2</td><td>BEFORE_BE</td><td>-1</td><td>-545</td>
    95  * </tr>
    96  * </tr>
    96  * </tbody>
    97  * </tbody>
    97  * </table>
    98  * </table>
    98  * <p>
    99  * <p>