On Mon, 11 Aug 2025 09:09:15 GMT, Volkan Yazici <vyaz...@openjdk.org> wrote:

> Shall we accompany the changes with a set of tests that verifies 
> `java.time.Instant::parse` against all all ISO 8601 date formats?

I don't think `Instant.parse()` allows all permitted zone offset styles in ISO, 
only allowing "+HH:MM:ss" in strict mode. If the user wants to allow all of the 
format, they would be able to create a custom formatter in lenient mode and use 
the pattern "+HH" for offset parsing.

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

PR Comment: https://git.openjdk.org/jdk/pull/26708#issuecomment-3175848523

Reply via email to