Johan WaltersOct 4, 20217 min readImproving DateTimeFormatter.parseBest using Scala 3I show how to make DateTimeFormatter.parseBest give a return type only containing the types you supplied as arguments using Scala 3.