RFR: 8279185: Support for IsoFields in JapaneseDate/MinguoDate/ThaiBuddhistDate [v2]

Naoto Sato naoto at openjdk.java.net
Fri Mar 4 21:57:56 UTC 2022


On Fri, 4 Mar 2022 21:26:57 GMT, Joe Wang <joehw at openjdk.org> wrote:

> Is the public API change, adding the isIsoLike() method, necessary?

Yes, I believe so. Without a means to tell whether the `TemporalAccessor`, such as `LocalDate`, supports `IsoFields`, `IsoFields` would have to hard-code which temporal accessor is supporting `IsoFields` fields.

-------------

PR: https://git.openjdk.java.net/jdk/pull/7683


More information about the core-libs-dev mailing list