Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8223773 DateTimeFormatter Fails to throw an Exception on Invalid HOUR_OF_AMPM
  3. JDK-8225062

Release Note: DateTimeFormatter now throws DateTimeParseException on Invalid HOUR_OF_AMPM

XMLWordPrintable

    • generic
    • generic
    • Verified

      The parsing behavior of `DateTimeFormatter` with `HOUR_OF_AMPM` has changed. It now correctly throws a `DateTimeParseException` with an out-of-bounds input values, such as `12`.

            naoto Naoto Sato
            naoto Naoto Sato
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: