Published: Mar 02 2010 / 20:09
FYI: This is the push to have something approximating Joda-time to be a core Java library.
(The author of Joda-Time is involved in this JSR)
I'm waiting since years to have a decent Date Time API replacement, but there's no light in sight: jdk 1.7? I don't think so :( .
In the meantime Joda-Time might be nice, but how many DB drivers support it directly? How many tools?
Also, how was was it possible for SUN to let the IBM "masterpiece" of java.util.Date in the JDK?
Joda's DateTime resolves to a long value same as a Date so they are easily interchangeable. Works with hibernate fine : http://joda-time.sourceforge.net/contrib/hibernate/index.html
Yes. IBM is responsible for most of the stupid designs in Java. Date, Calendar, EJB! Sun is part of the JCP like a lot of other companies. IBM carries a lot of weight. Unfortunately their software architects are total retards.
Finally. I imagine there will be some backport to previous Java versions...
Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.
Advertising - Terms of Service - Privacy - © 1997-2014, DZone, Inc.