I sometimes get frustrated by the lack of type safety with juCalendar and wonder if there is a good reason not to use the enumerations in the calendar API that went through my head, or if the only reason is that it was probably written before the enumerations were part of the language and it was not worth breaking the old code.
The secondary question is: is it worth the time to create a more secure type wrapper around the Calendar class, or has it been done before?
Summary: It has Calendar existed since Java 1.1, when it was Enumsjust done in Java 5, JODA Time is considered the best replacement package for Calendar.
source
share