I have a need for a project that I'm working on to query an API for a given date range - in this case a week, e.g.:
Sunday (2019-06-02T00:00:00Z) - Saturday (2019-06-08T23:59:59Z)
So, what I'm given through user input is a week and a year, e.g.:
Week - 23
Year - 2019
Is there a good way using Java 8 to determine what days that corresponds to?
Edit: I looked around but didn't find a recent solution to this problem, the closest thing I saw was using JodaTime. I was wondering if there was a better/more modern approach to this problem?