Java Programming - null
Today is March 28. I would like something, somehow return me the first day of this week (March 25) and the last day of this week (March 31), considering that Sunday is the first day of the week and Saturday is the last day of the week.Thanks!!
public Calendar getLastDayOfThisWeek() {Calendar cal = Calendar.getInstance();cal.add(Calendar.DAY_OF_YEAR, 8 - cal.get(Calendar.DAY_OF_WEEK));return cal;}Regards,Byurhan