equal
deleted
inserted
replaced
80 * The field works using double dispatch. Client code calls methods on a date-time like |
80 * The field works using double dispatch. Client code calls methods on a date-time like |
81 * {@code LocalDateTime} which check if the field is a {@code ChronoField}. |
81 * {@code LocalDateTime} which check if the field is a {@code ChronoField}. |
82 * If it is, then the date-time must handle it. |
82 * If it is, then the date-time must handle it. |
83 * Otherwise, the method call is re-dispatched to the matching method in this interface. |
83 * Otherwise, the method call is re-dispatched to the matching method in this interface. |
84 * |
84 * |
85 * <h3>Specification for implementors</h3> |
85 * @implSpec |
86 * This interface must be implemented with care to ensure other classes operate correctly. |
86 * This interface must be implemented with care to ensure other classes operate correctly. |
87 * All implementations that can be instantiated must be final, immutable and thread-safe. |
87 * All implementations that can be instantiated must be final, immutable and thread-safe. |
88 * Implementations should be {@code Serializable} where possible. |
88 * Implementations should be {@code Serializable} where possible. |
89 * An enum is as effective implementation choice. |
89 * An enum is as effective implementation choice. |
90 * |
90 * |