Is it possible to create a custom segment condition that you pass in two values into and then perform a conditional expression between two values.
e.g. Create a segmented list if the IndexedContact last visit date was between 5 and 10 days ago?
All the code I've found to help so far uses TypedQueryableOperatorCondition which only checks a single value against a single parameter e.g.:
return this.GetCompareExpression<DateTime>((Expression<Func<IndexedContact, DateTime>>) (c => c.LatestVisitDate), DateUtil.ParseDateTime(this.Value, DateTime.MinValue));
I'm using Sitecore version 8.2 and Email Experience Manager version 3.5