File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes LeapCentury--Date fun. fails to identify? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "LeapCentury--Date fun. fails to identify?" Watch "LeapCentury--Date fun. fails to identify?" New topic
Author

LeapCentury--Date fun. fails to identify?

chandrakant shirole
Greenhorn

Joined: Jan 30, 2001
Posts: 2
hi friends
basically i've problem of calculating next dates from a specific dates with a difference of month i wrote one bean and i succed in calculating it but i am facing a prob when the date is
29-feb-2000(any leap century year)
e.g
Date date=new Date(2000,1,29);
when i try to extract yr,month and days using method of Date Class it returns me-->1-2-2000 i.e of course next date, how can this prob be solved.
from
cus
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: LeapCentury--Date fun. fails to identify?