Working with java.util.Date and java.util.Calendar was a pain for Java developers until Stephen Colebourne (http://www.joda.org/) introduced Joda-Time (http://www.joda.org/joda-time/), a library for working with date and time in Java. Joda-Time provided the following advantages over the JDK API:
- Richer API for getting date components, such as the day of a month, the day of a week, the month, and the year, and time components, such as the hour, minutes, and seconds.
- Ease of manipulation and comparison of dates and time.
- Both time zone-independent and time zone-dependent APIs are available. Most of the time, we will be using time zone-independent APIs, which makes it easier to use the API.
- Amazing APIs to compute duration between dates and times.
- Date formatting and duration computation follow ISO standards by default.
- Supports multiple calendars such as Gregorian...