Day.prototype.isScheduled = function()
        {
            return (this.workschedule.length > 0 && this.events.length === 0 && this.nonworkingday.length === 0);
        };