private void ChangeWeekCalendarHeaders()
        {
            List <int> currentWeekDaysNumbers = Calendar.GetCurrentWeekDays();
            string     dayName;

            for (int currentDayNumber = Constants.FirstDayOfWeekIndex; currentDayNumber <= Constants.DaysIndexInWeek; currentDayNumber++)
            {
                dayName = Enum.GetName(typeof(Constants.DaysOfWeekAbbreviated), currentDayNumber);
                weekCalendarGrid.Columns[currentDayNumber + Constants.IndexNormalizer].HeaderText = $"{dayName} {currentWeekDaysNumbers[currentDayNumber]}";
            }
        }
        private static List <string[]> GetAppointmentsOfSelectedDayWeekCalendar(DataGridViewCell selectedCell)
        {
            int columnIndex = selectedCell.ColumnIndex;
            int rowIndex    = selectedCell.RowIndex;

            (TimeSpan, TimeSpan)selectedTimeInterval = Constants.WeekCalendarTimeIntervals[rowIndex];
            List <int>      currentWeekDays = Calendar.GetCurrentWeekDays();
            int             selectedDay     = currentWeekDays[columnIndex - Constants.IndexNormalizer];
            DateTime        selectedDate    = new DateTime(Calendar.CurrentDate.Year, Calendar.CurrentDate.Month, Convert.ToInt32(selectedDay));
            List <string[]> appointments    = Calendar.GetAppointmentsDetailsWeekCalendar(selectedDate, selectedTimeInterval);

            return(appointments);
        }