Most Android developers have been using `java.util.*` packages for handling Calendar, Date and Time. While they do serve the purpose, they have several shortcomings and very confusing APIs. Some developers use libraries like Joda-Time and ThreeTenABP to make things simpler. This has worked out well. But with recent changes in Android Gradle plugin, we can use a subset of Java 8 language features, which eliminated the need of such libraries for most projects.

In this talk, I talk about the shortcomings of Calendar and Date APIs, how JodaTime tried solving them, the evolution of JSR-310 and then finally the latest changes in Android Gradle Plugin that make is really simple to deal with Time on Android.

Menu