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”.
More Related Contents:
- Getting the date from a ResultSet for use with java.time classes
- What is the difference between year and year-of-era?
- Is there a class in java.time comparable to the Joda-Time Interval?
- Is Joda Time deprecated with java 8 Date and Time API? (java.time)
- LocalDateTime to java.sql.Date in java 8?
- Convert java.util.Date to java.time.LocalDate
- Converting between java.time.LocalDateTime and java.util.Date
- JSON Java 8 LocalDateTime format in Spring Boot
- Calculate days between two Dates in Java 8
- Is there a jackson datatype module for JDK8 java.time?
- How to get milliseconds from LocalDateTime in Java 8
- cannot resolve symbol ‘java.time.LocalDate’ error in android studio
- JDK dateformatter parsing DayOfWeek in German locale, java8 vs java9
- How can I create a Java 8 LocalDate from a long Epoch time in Milliseconds?
- How can I mock java.time.LocalDate.now()
- Why does the new Java 8 Date Time API not have nanosecond precision? [duplicate]
- Can’t parse String to LocalDate (Java 8)
- DateTimeFormatter month pattern letter “L” fails
- How to persist JSR-310 types with Spring Data JPA?
- Why can’t I get a duration in minutes or hours in java.time?
- Unable to obtain OffsetDateTime from TemporalAccessor
- LocalDate to java.util.Date and vice versa simplest conversion? [duplicate]
- How to convert LocalDate to SQL Date Java?
- Why does Java8 Stream generate nothing?
- String to ZonedDateTime is changing format
- Format a date using the new date time API
- DateTimeFormatter Support for Single Digit Day of Month and Month of Year
- Java 8 stream emitting a stream
- When is a Java Class loaded?
- What’s the difference between ZonedDateTime and OffsetDateTime?