Hi,
I wonder whether Drools 5 "Complex Event Processing Support (Temporal
Reasoning)" might be what you're looking for?
http://blog.athico.com/2008/07/drools-50-m1-new-and-noteworthy.html
With kind regards,
Mike
________________________________
From: rules-users-bounces(a)lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] On Behalf Of David Siefert
Sent: 29 January 2009 09:40
To: Rules Users List
Subject: [rules-users] Working with dates in rules
Hi-
I'm wondering how it would be possible to compare a part of a
date in the lhs condition of a rule in a Drool. In other words, I need
to compare a date to see if it is x days from the current date, n hours
from current time, etc. Would anyone be kind enough to provide an
example? I'm thinking I may have to implement something of my own to
offer that functionality?
Big thanks,
David