jdk/src/share/classes/java/time/chrono/Era.java
changeset 17474 8c100beabcc0
parent 16852 60207b2b4b42
child 19030 32f129cb6351
equal deleted inserted replaced
17473:35cd9b3a98ff 17474:8c100beabcc0
    91  * before and after a single date. By contrast, the Japanese calendar system
    91  * before and after a single date. By contrast, the Japanese calendar system
    92  * has one era for the reign of each Emperor.
    92  * has one era for the reign of each Emperor.
    93  * <p>
    93  * <p>
    94  * Instances of {@code Era} may be compared using the {@code ==} operator.
    94  * Instances of {@code Era} may be compared using the {@code ==} operator.
    95  *
    95  *
    96  * <h3>Specification for implementors</h3>
    96  * @implSpec
    97  * This interface must be implemented with care to ensure other classes operate correctly.
    97  * This interface must be implemented with care to ensure other classes operate correctly.
    98  * All implementations must be singletons - final, immutable and thread-safe.
    98  * All implementations must be singletons - final, immutable and thread-safe.
    99  * It is recommended to use an enum whenever possible.
    99  * It is recommended to use an enum whenever possible.
   100  *
   100  *
   101  * @since 1.8
   101  * @since 1.8