/// <summary>
        /// Set time filter for collection view
        /// </summary>
        private void FilterByTimeAction(object timeEnd)
        {
            bool a = false;

            if (timeEnd != null)
            {
                a = timeEnd is string;
            }

            if (!a)
            {
                _timeEndSuccess = DateTime.TryParse(FilterTimeEnd, out _endDateTime);
            }
            else
            {
                _timeEndSuccess = DateTime.TryParse((string)timeEnd, out _endDateTime);
            }

            _timeStartSuccess = DateTime.TryParse(FilterTimeStart, out _startDateTime);
            if (!(_timeStartSuccess || _timeEndSuccess))
            {
                LogEntriesCollectionView.Filter = null;
                return;
            }
            if (!_timeEndSuccess)
            {
                _endDateTime = DateTime.MaxValue;
            }
            if (CurrentTab.IsAllTab())
            {
                CurrentTab.FilterByTime(_startDateTime, _endDateTime);
            }
            else
            {
                LogEntriesCollectionView.Filter = Filter;
            }
        }