wood burning stoves*
The moose likes Beginning Java and the fly likes Trouble understanding dates in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Trouble understanding dates in Java" Watch "Trouble understanding dates in Java" New topic
Author

Trouble understanding dates in Java

Philip Pomario
Ranch Hand

Joined: Oct 03, 2003
Posts: 113
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

Joined: Apr 02, 2004
Posts: 884
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


SCJP 1.4 * SCWCD 1.4 * SCBCD 1.3 * SCJA 1.0 * TOGAF 8
Avi Abrami
Ranch Hand

Joined: Oct 11, 2000
Posts: 1124

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Trouble understanding dates in Java