Issue with DateTimeParseException when using STRICT resolver style

The strict resolver requires an era to go with YearOfEra. Change your pattern to use “u” instead of “y” and it will work, ie. “uuMMdd”.

Leave a Comment