I still don't understand how to call lessThan() on a Date using that API. The examples you provided are all using NumericFilterBuilder, which can only be constructed from int, short, float, double or long.

Of course, as a user of the fluent API, I can do before() to get a similar effect to lessThan(), but that won't invoke the API I'm adding (and there is no beforeOrEqual()).