Registry / utility / threetenabp

threetenabp

JSON →
library1.4.9javamavenunverified

An adaptation of the JSR-310 backport for Android, providing date and time API for older Android versions.

<dependency> <groupId>com.jakewharton.threetenabp</groupId> <artifactId>threetenabp</artifactId> <version>1.4.9</version> </dependency>
INSTALL
IMPORT
SIG · THREETENABP
T
threetenabp
utilityjavav1.4.9
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

LocalDate
org.threeten.bp.LocalDate

Minimal example showing current date using LocalDate

import org.threeten.bp.LocalDate; public class Example { public static void main(String[] args) { LocalDate today = LocalDate.now(); System.out.println("Today: " + today); } }
Debug
Known issues
gotchaNot compatible with Android API 26+ which has built-in java.time
fix
Use java.time directly on API 26+ or use ThreeTenABP for older versions
affects: >=1.0.0
Upgrade
Version history
1.4.9latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
threetenabp — mvn dependency:get threetenabp · libregistry