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?