jdk/src/share/classes/java/time/ZoneId.java
changeset 17474 8c100beabcc0
parent 16852 60207b2b4b42
child 19030 32f129cb6351
equal deleted inserted replaced
17473:35cd9b3a98ff 17474:8c100beabcc0
   155  * {@code hashCode}, {@code toString}, {@code getDisplayName} and {@code normalized}.
   155  * {@code hashCode}, {@code toString}, {@code getDisplayName} and {@code normalized}.
   156  * However, any call to {@code getRules} will fail with {@code ZoneRulesException}.
   156  * However, any call to {@code getRules} will fail with {@code ZoneRulesException}.
   157  * This approach is designed to allow a {@link ZonedDateTime} to be loaded and
   157  * This approach is designed to allow a {@link ZonedDateTime} to be loaded and
   158  * queried, but not modified, on a Java Runtime with incomplete time-zone information.
   158  * queried, but not modified, on a Java Runtime with incomplete time-zone information.
   159  *
   159  *
   160  * <h3>Specification for implementors</h3>
   160  * @implSpec
   161  * This abstract class has two implementations, both of which are immutable and thread-safe.
   161  * This abstract class has two implementations, both of which are immutable and thread-safe.
   162  * One implementation models region-based IDs, the other is {@code ZoneOffset} modelling
   162  * One implementation models region-based IDs, the other is {@code ZoneOffset} modelling
   163  * offset-based IDs. This difference is visible in serialization.
   163  * offset-based IDs. This difference is visible in serialization.
   164  *
   164  *
   165  * @since 1.8
   165  * @since 1.8