File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes java.util.Calendar bug on JDK6?? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "java.util.Calendar bug on JDK6??" Watch "java.util.Calendar bug on JDK6??" New topic
Author

java.util.Calendar bug on JDK6??

Pamungkas Timotius
Greenhorn

Joined: May 22, 2005
Posts: 26
Only in my JDK 6 update 2, or some of you also got same problems??

My JDK is downloaded directly from http://java.sun.com, jdk-6u2-windows-i586-p.exe (67142KB)



This loop will displays "March" twice (that is : January, March, March, April, ...)

My fault? Or this is a bug for JDK 6 update 2?

Well, if this is my fault, can anybody tell me where my bad code is?
FYI, I've also tried using



which also displays "March"..
Pamungkas Timotius
Greenhorn

Joined: May 22, 2005
Posts: 26
Whoops, sorry... my fault
Not the code...

I forget that today is still September 30...

Thread closed...
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: java.util.Calendar bug on JDK6??
 
Similar Threads
Date and Calendar
Possble Calendar bug with daylight saving time
i want to get the month of a particular date
Extending java.util.Calendar()
Converting XMLGregorianCalendar to Calendar with timeZone information