For a library for handling Java date time, the strongest matches are jodaorg/joda-time (Joda-Time is the definitive Java library for complex date), threeten/threetenbp (This library provides the backport of the Java 8) and threeten/threeten-extra (This library provides essential extensions to the standard Java). kotlin/kotlinx-datetime and github/relative-time-element round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
We curate open-source GitHub repositories matching “best java date and time libraries”. Results are ranked by relevance to your query — pick filters below to narrow, or refine with AI.
Joda-Time is a Java date and time library and framework used for parsing, representing, and calculating temporal data. It provides a thread-safe temporal API that uses immutable objects to ensure concurrency safety and adheres to the ISO8601 standard. The project is distinguished by its pluggable calendar system, which supports diverse chronologies including Gregorian, Buddhist, Coptic, Ethiopic, and Islamic calendars. It also functions as a time zone management tool, utilizing an internal IANA-based zone database to translate instants and update daylight savings rules independently of the ho
Joda-Time is the definitive Java library for complex date and time operations, offering full ISO-8601 compliance, robust timezone management, and an immutable design that covers all the requested temporal arithmetic and interoperability features.
This library provides the backport of the Java 8 Date and Time API, offering full ISO-8601 compliance, immutable types, and robust support for timezones, durations, and legacy interoperability.
Provides additional date-time classes that complement those in JDK 8
This library provides essential extensions to the standard Java date-time API, offering additional classes for periods, intervals, and calendar systems that maintain full compatibility with the core JDK 8+ date and time framework.
kotlinx-datetime is a multiplatform library for handling date, time, and calendar operations across different targets. It provides a consistent set of data types for representing instants and local date-times, serving as a standardized API for temporal management. The toolkit focuses on ISO 8601 compliance for parsing and formatting date and time strings. It implements a multiplatform approach to ensure that timestamps and calendar logic remain consistent across all supported platforms. The library covers temporal data modeling, calendar arithmetic for calculating durations and periods, and
This is a Kotlin-first multiplatform library designed for Kotlin projects, rather than a Java-native library intended for interoperability with the standard Java Date and Time API.
This project provides a web component time element that extends the standard HTML time tag to display human-readable relative timestamps and countdowns. It functions as a relative time formatter and time duration calculator, converting timestamps into localized strings that update automatically in the browser. The tool enables dynamic timestamp displays that transition from relative phrases to absolute dates based on configurable time thresholds. It includes capabilities for date tense restriction, forcing timestamps to display exclusively as past or future dates, and supports precise duratio
This is a JavaScript web component for rendering relative timestamps in the browser, rather than a Java library for performing date and time calculations in backend applications.