Class OverlappedbyPredicate
java.lang.Object
org.drools.model.functions.temporal.AbstractTemporalPredicate<OverlappedbyPredicate>
org.drools.model.functions.temporal.OverlappedbyPredicate
- All Implemented Interfaces:
TemporalPredicate,ModelComponent
-
Field Summary
Fields inherited from class org.drools.model.functions.temporal.AbstractTemporalPredicate
negated, thisOnRight -
Constructor Summary
ConstructorsConstructorDescriptionOverlappedbyPredicate(long maxDev, TimeUnit maxDevTimeUnit) OverlappedbyPredicate(long minDev, TimeUnit minDevTimeUnit, long maxDev, TimeUnit maxDevTimeUnit) -
Method Summary
Methods inherited from class org.drools.model.functions.temporal.AbstractTemporalPredicate
isEqualTo, isNegated, isThisOnRight, negate, setNegated, thisOnRight
-
Constructor Details
-
OverlappedbyPredicate
public OverlappedbyPredicate() -
OverlappedbyPredicate
-
OverlappedbyPredicate
-
-
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<OverlappedbyPredicate>
-