I am developing an application for API level 19 (KitKat).
I have a LocalDateTime
object and a Duration
object. I need to add this Dur
Currently you can enable java.time
in lower level apis by upgrading grade to 4.0.0. read more here.
The bbb answer in the comments is correct.
Currently the best option for android is ThreeTenABP. Jake Wharton explains why it's better to use this library rather than Joda-Time and ThreeTenBP in Android.