I have current date, and a constant which tells from which day the week starts. I want to get the start date of the week based on that constant. If I hardcode the first day
From the java calendar API
http://docs.oracle.com/javase/6/docs/api/java/util/Calendar.html#getFirstDayOfWeek()
public int getFirstDayOfWeek()
Gets what the first day of the week is; e.g., SUNDAY in the U.S., MONDAY in France.
Returns:
the first day of the week.
See Also: