Thursday, 22 August 2013

adding days to date in Java

adding days to date in Java

I am adding days to the date by this mean "Add day" which is the standard
procedure, but unfortunately my Pentaho application breaks on
c.setTime(dt);, which I clearly not know the reason as the exception
doesn't give any meaning. So another option is to parse the date and
extract month,year, and day and +1 to the day, but I have to then take
care of Feburary and odd months. I have just these 2 options in my mind
Anyone who can guide me with any other option in java Thanks

No comments:

Post a Comment