On Wed, 11 Jun 2025 07:46:09 GMT, Justin Lu <j...@openjdk.org> wrote:

> So we are updating the CLDRConverter to adapt the old COMPAT style pattern: 
> "yyyy" when using Japanese calendar for LONG or FULL `SimpleDateFormat` 
> patterns, such that it can replicate the old "gannen" style which emits the 元.

Yes, that’s correct. The patterns used in CLDR, SimpleDateFormat, and 
DateTimeFormatterBuilder are similar, but there are some differences that can 
be quite a pain. CLDRConverter tries to handle these differences, but I don’t 
think it’s entirely accurate. This case falls into that category.

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

PR Comment: https://git.openjdk.org/jdk/pull/25732#issuecomment-2963411259

Reply via email to