2 replies
by avia
Yes, I have used the (abstract) "java.util.Calendar" class and its concrete subclass, "java.util.GregorianCalendar".
You did not mention the multitude of "gotchas" associated with these classes. Fortunately, someone else has:
http://mindprod.com/gotchas.html#GREGORIANCALENDAR
These classes are (in my opinion) _not_ intuitive and are difficult to work with (mainly due to the "gotchas"), and, unfortunately, the only classes available in the core java library for dealing with "calendar" data. However, there are third-party alternatives available:
http://mindprod.com/jglossbigdate.html#BIGDATE
I wouldn't agree with "worth the learning curve" -- it's more a case of "no alternative, like it or lump it!".
Avi.
Very true Avi.
Roedy Green's [mindprod] site seems to have always been there and always has good stuff.
Another third-party alternative is the JODA-dates package over at:
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending