Code for date4j.net's simple date API, with a POM file, for upload to Maven Central.
Java Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.classpath
.gitignore
.project
LICENSE.txt
README.adoc
import.sh
pom.xml

README.adoc

date4j

What?

This is Ian Darwin’s repackaging of Hirondelle Systems’s Date4J API.

I think of date4j as "the small, simple, sensible Date API for Java."

Read all about it on http://date4j.net/

But do note that most of the problems that lead to the creation of date4j have been solved in the current release of Java! The Java 8 "new date/time API" (JSR-310, java.time) has what you need; see https://docs.oracle.com/javase/tutorial/datetime/

Build

license BSD2 green badge

Mavenizing Date4J

The code’s original author is not a fan of Maven, but since he has thoughtfully put it under the BSD license, this is my "Redistribution and use in source and binary forms" with an intent to make it available to all Maven/Gradle/Buildr/etc Nexus/MavenCentral users.

I have made no code changes, and plan to make none.

I have reorganized the code into standard Maven directory structure, added the POM file, removed the lib directory (uses a Maven depends), and set it up for inclusion in Maven Central and uploaded it (URL above).