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)


Basic Time4J repo stats
11 days ago

MenoData/Time4J is an open source project licensed under GNU Lesser General Public License v3.0 only which is an OSI approved license.

Time4J Alternatives

Similar projects and alternatives to Time4J based on common topics and language

  • GitHub repo glibc

    GNU Libc (by lattera)

  • GitHub repo concise-encoding

    The friendly data format for human and machine. Ad-hoc, secure, with 1:1 compatible twin binary and text formats and rich type support.

  • GitHub repo Joda-Time

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

  • GitHub repo iCal4j

    A Java library for parsing and building iCalendar data models

  • GitHub repo CustomizableCalendar

    CustomizableCalendar is a library that allows you to create your calendar, customizing UI and behaviour

  • GitHub repo material-calendarview

    A Material design back port of Android's CalendarView

  • GitHub repo CompactCalendarView

    An android library which provides a compact calendar view much like the one used in google calenders.

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better Time4J alternative or higher similarity.


Posts where Time4J has been mentioned. 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
    news.ycombinator.com | 2021-02-26
    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.