Context
I'm making an app where I have alarm and I need to show the time remaining to next alarm.
Problem
How do I get the array of selected Dates?
Example
User selected MO TU WE TH FR SA SU and time 07:30. Now I need to get Dates for those 7 days with time 07:30. It should work with year and month changing. For example "MO TU WE TH" can be 2018, but FR SA SU can be 2019.
Also, I need an option to create Dates not from all weekdays, but from several, for example only for "TU WE SA"