# Modern DateTimes on Android

DevFeed: [Modern DateTimes on Android](<https://devfeed.tech/articles/modern-datetimes-on-android-29366.md>)

Original publisher: [Read original article](<https://arturdryomov.dev/posts/modern-times/>)

Author: Artur Dryomov

Published: 2019-04-15T00:00:00Z

Content type: tutorial

Language: en

Sources: [Artur Dryomov](<https://devfeed.tech/sources/artur-dryomov.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [Java](<https://devfeed.tech/topics/java.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [java](<https://devfeed.tech/tags/java.md>), [joda](<https://devfeed.tech/tags/joda.md>), [threeten](<https://devfeed.tech/tags/threeten.md>), [time](<https://devfeed.tech/tags/time.md>)

## AI overview

This article explains the Java 8 date and time API on Android, including the use of ThreeTenBP and ThreeTenABP while native support remains limited. It recommends migrating from Joda-Time to ThreeTen-based APIs and describes separate dependencies for applications and JVM-based unit tests.

## Source excerpt

Java 8 gave us a great gift -- the java.time package, known as JSR 310 and ThreeTen. The story behind java.time is unique. It was introduced in JEP 150 by an independent developer -- Stephen Colebourne (@jodastephen). Yep, the same person who designed and developed Joda-Time. It was even endorsed by Brian Goetz, the Java Concurrency in Practice author! The result is a great API -- explicit and direct, based on years of Joda-Time experience.