ThreeTen-Extra VS Time4J

Compare ThreeTen-Extra vs Time4J and see what are their differences.

ThreeTen-Extra

Provides additional date-time classes that complement those in JDK 8 (by ThreeTen)

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)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
ThreeTen-Extra Time4J
3 1
387 420
0.3% -
5.3 7.7
7 days ago 3 months ago
Java Java
BSD 3-clause "New" or "Revised" License 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.

ThreeTen-Extra

Posts with mentions or reviews of ThreeTen-Extra. We have used some of these posts to build our list of alternatives and similar projects.

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 ThreeTen-Extra and Time4J you can also consider the following projects:

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

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

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

Almanac Converter - A Java-based calendar converter

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

glibc - GNU Libc

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