Joda-Time VS Time4J

Compare Joda-Time vs Time4J and see what are their differences.

Joda-Time

Joda-Time is the widely used replacement for the Java date and time classes prior to Java SE 8. (by JodaOrg)

Time4J

Advanced date, time and interval library for Java with sun/moon-astronomy and calendars like Chinese, Coptic, Ethiopian, French Republican, Hebrew, Hijri, Historic Christian, Indian National, Japanese, Julian, Korean, Minguo, Persian, Thai, Vietnamese (by MenoData)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
Joda-Time Time4J
12 1
4,970 420
0.0% -
6.0 7.7
18 days ago 3 months ago
Java Java
Apache License 2.0 GNU Lesser General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Joda-Time

Posts with mentions or reviews of Joda-Time. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-10.

Time4J

Posts with mentions or reviews of Time4J. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-02-26.
  • ISO 8601: the better date format
    3 projects | news.ycombinator.com | 26 Feb 2021
    ISO 8601 contains durations and time intervals which are totally undervalued! (https://en.wikipedia.org/wiki/ISO_8601#Time_intervals)

    E.g.: 2021-05-01T12:00:00Z/P2H

    They are so convenient. Every tried to store a tuple of datetimes to model a time interval? E.g. a meeting that takes place on 2021-05-01T12:00:00Z and takes two hours. Don't store it as two datetimes! Store it as an interval: "2021-05-01T12:00:00Z/P2H"

    Or are you creating an API where a duration or a time interval is expected? E.g. "give me all sales in this time period..."

    Please use time intervals for that. For JVM developers, there is a library out there that has amazing support: https://github.com/MenoData/Time4J

    For python developers, there is pendulum which supports most of the functionality.

What are some alternatives?

When comparing Joda-Time and Time4J you can also consider the following projects:

ThreeTenBP - Backport of functionality based on JSR-310 to Java SE 6 and 7. This is NOT an implementation of JSR-310.

iCal4j - A Java library for parsing and building iCalendar data models

Almanac Converter - A Java-based calendar converter

ThreeTen-Extra - Provides additional date-time classes that complement those in JDK 8

Modernizer - Detect uses of legacy Java APIs

glibc - GNU Libc

ThreeTen Android Backport - An adaptation of the JSR-310 backport for Android.

concise-encoding - The secure data format for a modern world