<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.24.1.1">
</HEAD>
<BODY>
(m1.startDate.time&lt;m1.LDOS.time)<BR>
<BR>
java.util.Date has a property named time which is a long and works great for comparisons<BR>
<BR>
On Fri, 2010-01-29 at 04:30 -0800, Tushar wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
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&lt;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
<A HREF="http://n3.nabble.com/file/n143474/rules.jpg">http://n3.nabble.com/file/n143474/rules.jpg</A> 

Regards,
Tushar.



</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>