[rules-users] How to compare dates from a rule

orchid maya.pollack at gmail.com
Tue Jan 19 03:57:16 EST 2010


Hi, 

I have a class Doc which contains a field date of type java.util.Date. I
would like in my rule to compare dates, something like: 
$d: Doc(date > "10/10/2009" && date < "19/01/2010").

How can I do that? 

Thanks !!!
-- 
View this message in context: http://n3.nabble.com/How-to-compare-dates-from-a-rule-tp129850p129850.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list