Is it possible to create custom temporal operators?

I want to create something like:

$eventA : EventA( this afterStart[3m30s,4m] $eventB)

which would be evaluated as 

3m30s <= $eventA.startTimestamp - $eventB.startTimestamp <= 4m

or 

$eventA : EventA( this during2 $eventB)

where

$eventB.startTimestamp <= $eventA.startTimestamp<= $eventA.endTimestamp <=
$eventB.endTimestamp 

as well as create various others.



--
View this message in context: 
http://drools.46999.n3.nabble.com/Fusion-Custom-Temporal-Operators-tp4023406.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to