public class DateInRangeRule
extends java.lang.Object
implements java.util.function.Predicate<java.util.Date>
Constructor and Description |
---|
DateInRangeRule(DateRange range,
int inclusiveMask) |
Modifier and Type | Method and Description |
---|---|
boolean |
test(java.util.Date date) |
public DateInRangeRule(DateRange range, int inclusiveMask)
range
- the range to checkinclusiveMask
- indicates inclusiveness of start and end of the range