title: Getting the start and the end date of a week using java calendar class
body: <p>I want to get the last and the first week of a week for a given date. 
  e.g if the date is 12th October 2011 then I need the dates 10th October 2011 (as the starting date of the week) and 16th october 2011 (as the end date of the week)
  Does anyone know how to get these 2 dates using the calender class (java.util.Calendar)
  thanks a lot!</p>