/// <summary>
            /// Assumes there's at least one week day selected if using weekly
            /// </summary>
            /// <param name="viewModel"></param>
            /// <param name="userPickedStartDate"></param>
            public DateOccurrenceEnumerator(RecurrenceControlViewModel viewModel, DateTime userPickedStartDate)
            {
                _viewModel        = viewModel;
                _repeatInterval   = viewModel.GetRepeatIntervalAsNumber();
                _sortedRepeatDays = viewModel.GetSelectedDaysOfWeek();

                // Get the actual start date
                _startDate = viewModel.GetStartDate(userPickedStartDate);
            }
 public DateOccurrenceEnumerable(RecurrenceControlViewModel viewModel, DateTime userPickedStartDate)
 {
     _viewModel           = viewModel;
     _userPickedStartDate = userPickedStartDate;
 }