This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

LeapCentury--Date fun. fails to identify?

 
chandrakant shirole
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic