So what is the Java type of dateOfBirth, please?<div>-W<br><br><div class="gmail_quote">2012/2/9 Nancy Henggeler <span dir="ltr">&lt;<a href="mailto:Nancy.Henggeler@fblfinancial.com">Nancy.Henggeler@fblfinancial.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font face="sans-serif">Hello Laun,</font>
<br>
<br><font face="sans-serif">Thank you for your quick response.  This
date is a date coming from a DB2 date field and is valid in my incoming
data.  Frankly, I am with you, why not null versus a silly low date
as such, arggggh.  But since it is coming in as such do you know of
a work around?</font>
<br>
<br><font face="sans-serif">Thank so much,</font>
<br><font face="sans-serif">Nancy</font>
<br>
<br>
<br>
<br><font size="1" color="#5f5f5f" face="sans-serif">From:      
 </font><font size="1" face="sans-serif">Wolfgang Laun &lt;<a href="mailto:wolfgang.laun@gmail.com" target="_blank">wolfgang.laun@gmail.com</a>&gt;</font>
<br><font size="1" color="#5f5f5f" face="sans-serif">To:      
 </font><font size="1" face="sans-serif">Rules Users List &lt;<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>&gt;</font>
<br><font size="1" color="#5f5f5f" face="sans-serif">Date:      
 </font><font size="1" face="sans-serif">02/09/2012 10:31 AM</font>
<br><font size="1" color="#5f5f5f" face="sans-serif">Subject:    
   </font><font size="1" face="sans-serif">Re: [rules-users]
Low Date question in drools</font>
<br><font size="1" color="#5f5f5f" face="sans-serif">Sent by:    
   </font><font size="1" face="sans-serif"><a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a></font>
<br>
<hr noshade>
<br>
<br>
<br><font size="3">Why would you want to test for January 1st in year 1?
This is not a</font>
<br><font size="3">value an object of type java.util.Date can represent.
See that type&#39;s</font>
<br><font size="3">javadoc for details, but the epoch begins January 1, 1970.</font>
<br>
<br><font size="3">-W</font>
<br><font size="3"><br>
</font>
<br><font size="3">On 9 February 2012 17:19, Nancy Henggeler &lt;</font><a href="mailto:nancy.henggeler@fblfinancial.com" target="_blank"><font size="3" color="blue"><u>nancy.henggeler@fblfinancial.com</u></font></a><font size="3">&gt;
wrote:</font>
<br><font size="3">I have a simple rule where I want to bypass elements that
have a low date but<br>
drools seems to be interpreting the date different then I am expecting.<br>
Drools statement and error follows:<br>
<br>
ClientSupplement ( dateOfBirth : dateOfBirth != null &amp;&amp; != 0001-01-01)<br>
<br>
throws error -- Error: [Error: badly formatted number: For input string:<br>
&quot;001-01-01&quot;] [Near : {... 0001-01-01 ....}] ^ [Line: 1, Column:
1]<br>
<br>
How do I get drools to  understand this low date?  I have tried
single,<br>
double, and no quotes around the low date and all result in a similiar
error<br>
message.  Please Help!</font><font size="3" color="#8f8f8f"><br>
<br>
--<br>
View this message in context: </font><a href="http://drools.46999.n3.nabble.com/Low-Date-question-in-drools-tp3729940p3729940.html" target="_blank"><font size="3" color="blue"><u>http://drools.46999.n3.nabble.com/Low-Date-question-in-drools-tp3729940p3729940.html</u></font></a><font size="3" color="#8f8f8f"><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list</font><font size="3" color="blue"><u><br>
</u></font><a href="mailto:rules-users@lists.jboss.org" target="_blank"><font size="3" color="blue"><u>rules-users@lists.jboss.org</u></font></a><font size="3" color="blue"><u><br>
</u></font><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank"><font size="3" color="blue"><u>https://lists.jboss.org/mailman/listinfo/rules-users</u></font></a>
<br><tt><font>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
</font></tt><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank"><tt><font>https://lists.jboss.org/mailman/listinfo/rules-users</font></tt></a><tt><font><br>
</font></tt>
<br>

<table><tbody><tr><td bgcolor="#ffffff"><font color="#000000"><pre>The information contained in this message may be privileged and confidential and protected from disclosure. If you are
not the intended recipient of this message, you are hereby notified that any dissemination, distribution, or copying of this
communication is strictly prohibited. If you have received this communication in error, please notify us immediately by
replying to the message, and please delete it from your computer.
</pre></font></td></tr></tbody></table><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br></div>