Habanero.Faces.Base.DateRangeComboBoxManager.DateRangeComboBoxManager C# (CSharp) Method

DateRangeComboBoxManager() public method

Constructor to initialise a new ComboBox with a selection of date range options that are suited to a timeless system
public DateRangeComboBoxManager ( IComboBox comboBox ) : System
comboBox IComboBox The combobox to be managed
return System
        public DateRangeComboBoxManager(IComboBox comboBox)
        {
            _comboBox = comboBox;

            _optionsToDisplay = new List<DateRangeOptions>
                    {
                        DateRangeOptions.Today,
                        DateRangeOptions.Tommorrow,
                        DateRangeOptions.Yesterday,
                        DateRangeOptions.WeekToDate,
                        DateRangeOptions.PreviousWeek,
                        DateRangeOptions.Previous7Days,
                        DateRangeOptions.MonthToDate,
                        DateRangeOptions.PreviousMonth,
                        DateRangeOptions.Previous30Days,
                        DateRangeOptions.YearToDate,
                        DateRangeOptions.PreviousYear,
                        DateRangeOptions.Previous365Days,
                        DateRangeOptions.Next30Days,
                        DateRangeOptions.Next7Days
                    };

            InitialiseValues();
        }