title: Calculating alarm time for alarm clock
body: <p>I am trying to make an alarm clock app and am having difficulty setting the time for the alarm to go off. My app has the user select which days they would like the alarm to go off, similar to the android alarm clock, with a boolean array of seven to represent this. </p>
  
  <p>My idea was to set the clock for the closest day i.e if today is Monday and the alarm is set for Wednesday and Friday, the alarm will go off on Wednesday and then reset itself for Friday.</p>
  
  <p>I was wondering if the calendar could return a week, I think this would make things easier.</p>