Tag Archives: datetime

Java 8 contains similar JodaTime API

Java 8 will finally have a new time/date API (It’s about time). The new API is similar to the Jodatime API (one of the best APIs available).  http://joda-time.sourceforge.net/

Posted in News | Tagged , , , | Leave a comment

calendar.equals is evil (especially over RMI)

And again I stumbled across a problem of the date/time API of the JVM. This time it is the java.util.Calendar object. The Calendar object violates against the x.compareTo(y)==0       ==         x.equals(y)           recommendation. It’s not a … Continue reading

Posted in Java, Problems | Tagged , , , | Leave a comment