For example there is a String called date="05/05/2010";
If it is Monday to Thurs Day it has to return Next Day and Date..otherwise it might be any one of Friday,Saturday,Sunday these it has to return Monday and its date,i meant next business day and its date.
Try to use SimpleDateFormat to get the date object.
Now you can call the getDay method of the date object to get the day of the week.
After that logic can be implemented to get the required day of your choice using calender class or some other way(Storing days in array- was you have to do only two king of operation after comparing day with your array).
So you're saying all we have to do to create a four-day work week is write it in Java? Excellent! Now let's write the code to stop it from raining on weekends. I sure hope we won't need a deprecated method because I'll use it anyway.
If you're talking about the Monday to Thursday part, that's perfectly normal. For next business day support, the next business day for Friday will be Monday, not Saturday. I've written a lot of code with special cases for Friday and Saturday (Sunday usually behaves like the rest).