protected function createCalendar()
    {
        $calendar = new SwatCalendar($this->id . '_calendar');
        $calendar->classes = array('swat-date-entry-calendar');
        $calendar->valid_range_start = $this->valid_range_start;
        $calendar->valid_range_end = $this->valid_range_end;
        return $calendar;
    }