Org.joda.time.datetime — Jar Download [hot]
If you are not using a build tool like Maven or Gradle, you can manually download the JAR file to include it in your project's classpath:
Automating the download via Maven or Gradle is the industry standard, as it handles updates and transitive dependencies automatically. Add the following to your pom.xml file:
The DateTime class is the centerpiece of the library, offering several advantages over the legacy java.util.Date :
: Visit the Joda-Time Download Page to get the latest stable version (currently 2.14.2 ).
Differences between Java 8 Date Time API (java.time) and Joda-Time
joda-time-{version}-sources.jar : Optional source code for IDE debugging.
: Easily perform calculations like dt.plusDays(5) or dt.minusHours(2) without complex Calendar manipulations.