John R.webp

Journey Of Time

Subhrajyoti Sen

Android Engineer

KeepTruckin

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.

I am an Android Developer at KeepTruckin. I am passionate about creating good mobile experiences and sharing my learnings with others. I am also an Open Source enthusiast and an active contributor. When I am not playing around with Android or AOSP, you can find me binge-watching TV shows or sketching anime characters.