joda-time:joda-time

Joda-Time provides a quality replacement for the Java date and time classes. Joda-Time is the de facto standard date and time library for Java. From Java SE 8 onwards, users are asked to migrate to java.time (JSR-310).

joda-time gradle dependency

compile 'joda-time:joda-time:2.10.1'

joda-time example for Android