File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Date and Calender help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Date and Calender help" Watch "Date and Calender help" New topic

Date and Calender help

vuthlarhi donald
Ranch Hand

Joined: Jul 31, 2006
Posts: 76
Piyush Porwal
Ranch Hand

Joined: Apr 09, 2008
Posts: 30
I suppose you should use calendar.add(Calendar.DAY_OF_YEAR, 30 ),
as Calendar.DAY_OF_MONTH must be getting overflow from it's max value.

-Piyush Porwal (Junk box)
I agree. Here's the link:
subject: Date and Calender help
jQuery in Action, 3rd edition