- All Implemented Interfaces:
- ComparisonOperator, Operator
public class Within
extends Object
implements ComparisonOperator
The Within operator tests whether an expression will yield true for a certain time frame.
Example:
- logicService.parse("'CD4 COUNT'").within(Duration.years(2));
The above will give us a criteria to check if there's "CD4 COUNT" observations within the last 2
years