Subhrajyoti is a Google Developer Expert for Android and an Android Engineer at Motive, where he develops apps to improve the trucking industry. When not writing code, you can find him binge-watching anime, reading up on public policy or playing Rocket League.
Subhrajyoti Sen
Android Engineer at Motive
Journey Of Time
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.