From ae4db22a6a03122f94b38d5e30b4de43e93a43bb Mon Sep 17 00:00:00 2001 From: Sam Brannen <104798+sbrannen@users.noreply.github.com> Date: Mon, 21 Oct 2024 16:13:09 +0200 Subject: [PATCH] Use fully-qualified class names for non-Spring types --- Date-and-Time-Formatting-with-JDK-20-and-higher.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Date-and-Time-Formatting-with-JDK-20-and-higher.md b/Date-and-Time-Formatting-with-JDK-20-and-higher.md index 33f6197..2adcfea 100644 --- a/Date-and-Time-Formatting-with-JDK-20-and-higher.md +++ b/Date-and-Time-Formatting-with-JDK-20-and-higher.md @@ -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.