Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Trouble understanding dates in Java

 
Philip Pomario
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not new to Java, though every time I have to manipulate dates I have a hard time through the specification. Any help explaining how the classes Date, Calendar, Gregorian Calendar, SimpleDateFormat (are there others?) inter-connect would be much appreciated.
 
Chengwei Lee
Ranch Hand
Posts: 884
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Really, what is it that you don't understand or have problems with? Some specific codes that you're having difficulties in, or a specific situation whereby you can't use the classes to do the work.
That will definitely help us help you
 
Avi Abrami
Ranch Hand
Posts: 1141
1
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Filipe,
Assuming you haven't already seen it, perhaps the Gotchas Web page of Roedy Green's Java Glossary will help. Look for the discussion of the "java.util.Date" class.
Good Luck,
Avi.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic