I think it'd be nice to have a few pages on working with dates in
Java in our wiki. So, I'm bringing attention to the topic with this post.
What I'd like to do here is gather ideas for what issues frequently arise when working with dates - things like parsing dates, formatting dates, comparing dates, and manipulating dates. After we've accumulated some ideas and links to questions and/or answers, if someone doesn't beat me to the punch, I'll start putting together the wiki pages.
(I think
JDBC date issues would fit better in the JDBC FAQ section than here.)
Update: The topics so far
parsing a string to a dateformatting a date for displaycomparing datesdate arithmeticdetermining holidays (perhaps weekend days, day of week)working with fields of Date/Calendar classes - especially that the first month is numbered 0timezonesdaylight savings time (Again, I'd prefer to discuss JDBC/database issues with dates elsewhere.)
Now, let's begin work on these at
http://faq.javaranch.com/view?JavaDatesFaq [ April 30, 2004: Message edited by: Dirk Schreckmann ]