Java 8 LocalDateTime is parsing invalid datetime
You just need a strict ResolverStyle. Parsing a text string occurs in two phases. Phase 1 is a basic text parse according to the fields added to the builder. Phase 2 resolves the parsed field-value pairs into date and/or time objects. This style is used to control how phase 2, resolving, happens. Sample code – … Read more