Class IncludesPredicate
java.lang.Object
org.drools.model.functions.temporal.AbstractTemporalPredicate<IncludesPredicate>
org.drools.model.functions.temporal.IncludesPredicate
- All Implemented Interfaces:
TemporalPredicate,ModelComponent
-
Field Summary
Fields inherited from class org.drools.model.functions.temporal.AbstractTemporalPredicate
negated, thisOnRight -
Constructor Summary
ConstructorsConstructorDescriptionIncludesPredicate(long max, TimeUnit maxUnit) IncludesPredicate(long min, TimeUnit minUnit, long max, TimeUnit maxUnit) -
Method Summary
Methods inherited from class org.drools.model.functions.temporal.AbstractTemporalPredicate
isEqualTo, isNegated, isThisOnRight, negate, setNegated, thisOnRight
-
Constructor Details
-
IncludesPredicate
public IncludesPredicate() -
IncludesPredicate
-
IncludesPredicate
-
-
Method Details
-
toString
-
getInterval
-
evaluate
public boolean evaluate(long start1, long duration1, long end1, long start2, long duration2, long end2) -
isTemporalPredicateEqualTo
- Specified by:
isTemporalPredicateEqualToin classAbstractTemporalPredicate<IncludesPredicate>
-