public DHXMarkTime Mark(DayOfWeek day)
        {
            DHXMarkTime dhxMarkTime = new DHXMarkTime();

            dhxMarkTime.Day     = day;
            dhxMarkTime.FullDay = true;
            return(dhxMarkTime);
        }
        public DHXMarkTime Mark(DateTime day)
        {
            DHXMarkTime dhxMarkTime = new DHXMarkTime();

            dhxMarkTime.StartDate = day;
            dhxMarkTime.FullDay   = true;
            return(dhxMarkTime);
        }
        public DHXMarkTime Mark(DateTime from, DateTime to, string css, string html)
        {
            DHXMarkTime dhxMarkTime1 = new DHXMarkTime();

            dhxMarkTime1.StartDate = from;
            dhxMarkTime1.EndDate   = to;
            dhxMarkTime1.CssClass  = css;
            dhxMarkTime1.HTML      = html;
            DHXMarkTime dhxMarkTime2 = dhxMarkTime1;

            this.Items.Add((DHXTimeSpan)dhxMarkTime2);
            return(dhxMarkTime2);
        }
        public DHXMarkTime Mark(DateTime day, params Zone[] zones)
        {
            DHXMarkTime dhxMarkTime1 = new DHXMarkTime();

            dhxMarkTime1.StartDate = day;
            DHXMarkTime dhxMarkTime2 = dhxMarkTime1;

            if (zones.Length == 0)
            {
                dhxMarkTime2.FullDay = true;
            }
            else
            {
                foreach (Zone zone in zones)
                {
                    dhxMarkTime2.AddZone(zone);
                }
            }
            return(dhxMarkTime2);
        }