News for hackers. Stuff that matters.
Re:Android 4.2: December month missing in calendar by ajross on Saturday November 17, 2012 @10:28PM (#4799732)
All calendrics APIs will bite you. It's not a property of the API (though I agree Java's is bad) but of the problem domain. The gregorian calendar is simply a mess, and any API on that is just a facade on the mess. Never trust your calendar API. Never fool yourself into thinking you've found the right one. Always be very, very afraid when you find yourself doing arithmetic on a "date".
Re:Android 4.2: December month missing in calendar by sk5t on Sunday November 18, 2012 @12:59AM (#4799996)
Right on... Jon Skeet offers a very fine article on the slipperyness of date-time arithmetic here (it's about .NET and Noda Time, but the same issues apply): http://noda-time.blogspot.com/2011/08/what-wrong-with-dateti...