So why not have a method that sets the day of the week as well? It just seems odd to me that they would implement setters for all of the other time units but not this one
See my comment above. What interpretation would you prefer? setDay changes the date into the future or past by changing the date, the month or the year. At a minimum there are 6 possible values. To me none of them are an obvious choice.
Given that `setMinute` sets the minute in the same hour and `setHour` sets the hour in the same day, I'd think `setDay` setting to the day in the same week would be rather logical
cause if you have the date 19/09/2016 whats the point of setting the day of the week? so do you wanna set the date to be Thursday but still keep the 19/09/2016 that wouldnt make any sense, cause 19/09/2016 is Monday, and in all cases must be Monday.
What if I wanted to get the day at the beginning of the week that a date occurred in? For instance, if you had a payroll system where you paid hourly workers weekly, it would be useful to be able to bucket the hours worked on the day that the paycheck is sent