I have to write a program that prints this week of the year starting from Sunday on a window depending on the current date. I just don't know how to approach this. I tried using the add method from the Calendar API, but it doesn't work for every day.
ex: this week
31 | 1 | 2 | 3 | 4 | 5 | 6