JSR-310
February 22nd, 2007JSR-310 recently accepted as a new JSR! What is JSR-310?
“This JSR will provide a new and improved date and time API for Java. The main goal is to build upon the lessons learned from the first two APIs (Date and Calendar) in Java SE, providing a more advanced and comprehensive model for date and time manipulation…..Currently Java SE has two separate date and time APIs - java.util.Date and java.util.Calendar. Both APIs are consistently described as difficult to use by Java developers on weblogs and forums. Notably, both use a zero-index for months, which is a cause of many bugs. Calendar has also suffered from many bugs and performance issues over the years, primarily due to storing its state in two different ways internally.”
Horray! It’s nice to know that I wasn’t the only one not happy with Java’s Date Time classes. I’ve swithced to Joda Time, but I would rather use someting that’s part of the standard package instead of a giant library to handle Dates.
I wish the Java guys will take some time to understand the .NET Framework’s handling of Dates and times and if they really want to make me happy, throw in some of of Ruby’s Humane interfaces.
Posted by Shey