I know there are questions relating to java.util.Date and Joda-Time. But after some digging, I couldn’t find a thread about the differences between the java.time API (new in Java 8, defined by JSR 310) and Joda-Time.
I have heard that Java 8’s java.time API is much cleaner and can do much more than Joda-Time. But I cannot find examples comparing the two.
- What can java.time do that Joda-Time cannot?
- What can java.time do better than Joda-Time?
- Is the performance better with java.time?