Skip to Content
0
Former Member
Jun 30, 2007 at 03:37 PM

How to calculate next date in Java

397 Views

Hi Experts,

I am using Web Dynpro program. The BAPI returns first day of week (i.e. Monday). I have to calculate dates of Tuesdays, Wednesdays, Thursdays, Fridays, Saturdays and Sundays based on BAPI output. For example, suppose BAPI has recturned Monday Feb 25, 2007. Based on this, I have to calculate what will be the dates Tuesday, Wednesday, Thursday, Friday, Saturday and Sunday. How can we calculate this quickly in Java?

Regards,

Brian