An Android-optimized backport of Java 8's java.time API for handling dates and times.
ThreeTenABP is an Android-optimized backport of Java 8's java.time API (JSR-310) for handling dates and times. It provides a modern replacement for Android's legacy Date and Calendar APIs, solving performance issues related to timezone loading on the Android platform. The library offers the same API as the standard ThreeTenBP backport but with Android-specific optimizations for efficiency.
Android developers who need reliable, efficient date and time handling in their applications, particularly those targeting older Android versions without native Java 8 support.
Developers choose ThreeTenABP over generic backports because it optimizes timezone data loading using Android assets instead of inefficient JAR resources, reducing performance overhead. It also provides a smaller, more efficient package compared to alternatives like Joda-Time while maintaining full compatibility with the modern JSR-310 standard.
An adaptation of the JSR-310 backport for Android.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Uses Android assets instead of inefficient JAR resources for timezone data, as highlighted in the README to avoid performance issues on Android.
Implements the full JSR-310 specification with a clean, immutable API, providing a direct replacement for the problematic Date and Calendar classes.
Offers a smaller package compared to Joda-Time, with lower method count and binary footprint, making it lightweight for Android apps.
Follows the same API as the ThreeTenBP library, ensuring compatibility with Java 8's standard date/time APIs for easier migration.
The README explicitly states development has concluded, recommending migration to core library desugaring, meaning no future updates or bug fixes.
Requires explicit initialization in Application.onCreate() with AndroidThreeTen.init(this), adding an extra setup step that native java.time avoids.
Adapts the ThreeTenBP backport, which may have unresolved issues or lack optimizations compared to newer Android features or native implementations.