I've a requirement wherein I cannot use JodaDate/Time. I need to use java.util.Date and need a function which returns start Date of the week.
Signature of function:
public java.util.Date getWeekStart(java.util.Date date)
I can assume that the week starts on Sunday. I've done enough research but all solutions are on JodaDate. Can I do this with java.util.Date
alone?