Use fully-qualified class names for non-Spring types

master
Sam Brannen 1 year ago
parent
commit
ae4db22a6a
  1. 2
      Date-and-Time-Formatting-with-JDK-20-and-higher.md

2
Date-and-Time-Formatting-with-JDK-20-and-higher.md

@ -42,7 +42,7 @@ TODO @@ -42,7 +42,7 @@ TODO
#### Lenient `SimpleDateFormat` and `DateTimeFormatter` Configuration
In JDK 23, the Java team introduced support for lenient parsing of space characters in `SimpleDateFormat` as well as `DateTimeFormatter`.
In JDK 23, the Java team introduced support for lenient parsing of space characters in `java.text.SimpleDateFormat` as well as `java.time.format.DateTimeFormatter`.
`SimpleDateFormat` is lenient by default; however, `DateTimeFormatter` instances are not lenient by default, and factory methods like `DateTimeFormatter.ofLocalizedTime(...)` do not create lenient formatters.

Loading…
Cancel
Save