aspose file tools*
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
Author

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)
 
Consider Paul's rocket mass heater.
 
subject: Date and Calender help
 
Similar Threads
Is java Date/Calendar a bug?
Date and Calendar
getting a Date that is 30 days ago from today
Date - finding tomorrow
How to get tomorrow's date?