(m1.startDate.time<m1.LDOS.time)
java.util.Date has a property named time which is a long and works great
for comparisons
On Fri, 2010-01-29 at 04:30 -0800, Tushar wrote:
Hi,
I am new to drools and just started to understand it. I am trying to use
Decision Table for my project, one of my requirement is to compare dates say
fromDate and endDate from a POJO. I wonder if its possible to have something
like this
d:DroolsRequestResponse m1:majorLine
(m1.startDate<m1.LDOS) from m1
in my CONDITION
or can i have dynamic values of parameter in the cell for each iteration.
here is my excel screenshot
http://n3.nabble.com/file/n143474/rules.jpg
Regards,
Tushar.