public void Fill(CalendarDay calendarDay)
 {
     Start          = calendarDay.Start;
     End            = calendarDay.End;
     Type           = calendarDay.Type;
     IsStateHoliday = calendarDay.IsStateHoliday;
 }
        public void SetDay(CalendarDay calendarDay)
        {
            var cDay = GetDayByDate(calendarDay.Date);

            cDay.Type  = calendarDay.Type;
            cDay.Start = calendarDay.Start;
            cDay.End   = calendarDay.End;

            if (cDay.Type == DayType.Holiday)
            {
                SetPreHolidays();
            }
        }