Re: [rules-users] temporal operator "includes" not working

2011-07-22 Thread Neelesh Deo Dani
Thanks Wolfgang! It worked. --- On Fri, 22/7/11, Wolfgang Laun wrote: From: Wolfgang Laun Subject: Re: [rules-users] temporal operator "includes" not working To: "Rules Users List" Date: Friday, 22 July, 2011, 11:29 AM Interval-based events must have a property for t

Re: [rules-users] temporal operator "includes" not working

2011-07-21 Thread Wolfgang Laun
Interval-based events must have a property for their duration (in ms), not the end time. @duration(duration) duration : long -W 2011/7/22 Neelesh Deo Dani > Hi, > I've following event declarations and rule: > > declare Event > @role(event) > @timestamp(datetime) > datetime : Date >

[rules-users] temporal operator "includes" not working

2011-07-21 Thread Neelesh Deo Dani
Hi, I've following event declarations and rule: declare Event     @role(event)     @timestamp(datetime)     datetime : Date     name : String end declare Contest     @role(event)     @timestamp (startTimestamp)     startTimestamp : Date     endTimestamp : Date end rule "Contes