Repository to make migration from Joda to Java Time API more easy.
My blog post for the whole story.
Read to get a brief idea: https://blog.joda.org/2014/11/converting-from-joda-time-to-javatime.html
Check below for the target class you are migrating
- LocalDate
- LocalDateTime
- LocalTime
- Instant
- DateTime
- Period
- Duration
- DateTimeFormatter
Pattern in Joda and Java has subtle difference, e.g.(Joda 'Y' vs Java 'Y') So do checkout the documentation of- Joda DateTimeFormat
- Java DateTimeFormatter for details.
Feel free to raise PR for adding useful cases, or issue if you find something wrong.