<i18n dev> RFR: 8341914: The j.u.Formatter doc for TemporalAccessor should be enhanced [v2]

Raffaello Giulietti rgiulietti at openjdk.org
Wed Oct 15 20:49:44 UTC 2025


On Wed, 15 Oct 2025 18:20:36 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:

>> Doc only change.
>
> Raffaello Giulietti has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Add the 'c' conversion as well.

The `Formatter` documentation related to dates/times has 3 tables: for times, for dates, and for "common date/time compositions".

All conversion character for dates are applicable to all dates/datetimes (but not to times-only instances).

Something similar should hold for conversion characters of times/datetimes: they should be applicable to all times/datetimes (and not to date-only instances). But `z` and `Z` represent an exception, as they apply only if time zone information is available.

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

PR Comment: https://git.openjdk.org/jdk/pull/27830#issuecomment-3408216496


More information about the i18n-dev mailing list