public SearchFilter(List <CriminalEventType> inCriminalEventTypes,
                            List <string> inKeyWordsSearchAddress,
                            List <string> inKeyWordsSearchFamily,
                            DaysFilter inDays,
                            TimeFilter inTime,
                            DateFilter inDate,
                            QueryLogic logic)
        {
            Days = inDays;
            Time = inTime;
            Date = inDate;

            DaysFilterOn = (inDays == null) ? false : true;
            TimeFilterOn = (inTime == null) ? false : true;
            DateFilterOn = (inDate == null) ? false : true;

            KeyWordsSearchAddress   = inKeyWordsSearchAddress;
            KeyWordsSearchAddressOn = (KeyWordsSearchAddress != null);

            KeyWordsSearchFamily   = inKeyWordsSearchFamily;
            KeyWordsSearchFamilyOn = (KeyWordsSearchFamily != null);

            CriminalEventTypes         = inCriminalEventTypes;
            CriminalEventTypesSearchOn = (CriminalEventTypes != null);

            Logic = logic;
        }
        public SearchFilter(DateFilter inDate)
        {
            Date         = inDate;
            DateFilterOn = true;

            TimeFilterOn               = false;
            DaysFilterOn               = false;
            KeyWordsSearchOn           = false;
            CriminalEventTypesSearchOn = false;
            KeyWordsSearchAddressOn    = false;
            KeyWordsSearchFamilyOn     = false;

            Logic = QueryLogic.Unknown;
        }