Top Fields Constructors Methods
net.fortuna.ical4j.filter.predicate

public Class DateInRangeRule

extends Object
implements Predicate<Date>
Class Inheritance
All Implemented Interfaces
java.util.function.Predicate
Annotations
@Deprecated
Imports
net.fortuna.ical4j.model.DateRange, java.util.Date, java.util.function.Predicate

Deprecated

Author
fortuna

Field Summary

Modifier and TypeField and Description
private final int
private final DateRange
range

References Deprecated DateRange is deprecated or references (maybe indirectly) at least one deprecated element.

Constructor Summary

AccessConstructor and Description
public
DateInRangeRule(DateRange
the range to check
range
,
int
indicates inclusiveness of start and end of the range
inclusiveMask
)
References Deprecated DateRange is deprecated or references (maybe indirectly) at least one deprecated element.

Method Summary

Modifier and TypeMethod and Description
public boolean
test(Date
the input argument
date
)

Implements java.util.function.Predicate.test.

Evaluates this predicate on the given argument.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

inclusiveMaskback to summary
private final int inclusiveMask
rangeback to summary
private final DateRange range

References Deprecated

DateRange is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Constructor Detail

DateInRangeRuleback to summary
public DateInRangeRule(DateRange range, int inclusiveMask)

References Deprecated

DateRange is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Parameters
range:DateRange

the range to check

inclusiveMask:int

indicates inclusiveness of start and end of the range

Method Detail

testback to summary
public boolean test(Date date)

Implements java.util.function.Predicate.test.

Doc from java.util.function.Predicate.test.

Evaluates this predicate on the given argument.

Parameters
date:Date

the input argument

Returns:boolean

true if the input argument matches the predicate, otherwise false

Annotations
@Override