         {
             if (displayMode == DateSelectorDisplayMode.DATE_AND_TIME)
             {
-                dateList.dataProvider = new DateAndTimeProvider(localeStr, minDate, maxDate,
+                dateList.dataProvider = new DateAndTimeProvider(localeStr, _minDate, _maxDate,
                     today);
                 
                 // set size to longest string

        }
    }
    
    //----------------------------------------------------------------------------------------------
    //
    //  Event handlers

            }
            
            // make sure there's at least one minuteStepSize between the min and max
            if ((_maxDate.time - _minDate.time) < (minuteStepSize * 60 * 1000))
                _maxDate.time = _minDate.time + (minuteStepSize * 60 * 1000);
            
            var origSelectedDate:Date = new Date(_selectedDate.time);
            
            // check minDate <= selectedDate <= maxDate
            if (!_selectedDate || _selectedDate.time < _minDate.time)
            {
                _selectedDate = new Date(_minDate.time);
            }
            else if (_selectedDate.time > _maxDate.time)
            {
                _selectedDate = new Date(_maxDate.time);
            }
            
            minDateChanged = false;
