/// <summary> Constructs a filter for Field <code>f</code> matching /// dates on or after <code>date</code>. /// </summary> public static DateFilter After(System.String field, System.DateTime date) { DateFilter result = new DateFilter(field); result.start = DateField.DateToString(date); return(result); }
/// <summary> Constructs a filter for Field <code>f</code> matching times /// on or before <code>time</code>. /// </summary> public static DateFilter Before(System.String field, long time) { DateFilter result = new DateFilter(field); result.end = DateField.TimeToString(time); return(result); }
/// <summary> Constructs a filter for Field <code>f</code> matching /// dates on or before before <code>date</code>. /// </summary> public static DateFilter Before(System.String field, System.DateTime date) { DateFilter result = new DateFilter(field); result.end = DateField.DateToString(date); return(result); }
/// <summary> Constructs a filter for Field <code>f</code> matching /// times on or after <code>time</code>. /// </summary> public static DateFilter After(System.String field, long time) { DateFilter result = new DateFilter(field); result.start = DateField.TimeToString(time); return(result); }
/// <summary> Constructs a filter for Field <code>f</code> matching /// dates on or after <code>date</code>. /// </summary> public static DateFilter After(System.String field, System.DateTime date) { DateFilter result = new DateFilter(field); result.start = DateField.DateToString(date); return result; }
/// <summary> Constructs a filter for Field <code>f</code> matching times /// on or before <code>time</code>. /// </summary> public static DateFilter Before(System.String field, long time) { DateFilter result = new DateFilter(field); result.end = DateField.TimeToString(time); return result; }
/// <summary> Constructs a filter for Field <code>f</code> matching /// dates on or before before <code>date</code>. /// </summary> public static DateFilter Before(System.String field, System.DateTime date) { DateFilter result = new DateFilter(field); result.end = DateField.DateToString(date); return result; }
/// <summary> Constructs a filter for Field <code>f</code> matching /// times on or after <code>time</code>. /// </summary> public static DateFilter After(System.String field, long time) { DateFilter result = new DateFilter(field); result.start = DateField.TimeToString(time); return result; }