<div>Why would you want to test for January 1st in year 1? This is not a</div><div>value an object of type java.util.Date can represent. See that type&#39;s</div><div>javadoc for details, but the epoch begins January 1, 1970.</div>
<div><br></div><div>-W</div><br><br><div class="gmail_quote">On 9 February 2012 17:19, Nancy Henggeler <span dir="ltr">&lt;<a href="mailto:nancy.henggeler@fblfinancial.com">nancy.henggeler@fblfinancial.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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!<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Low-Date-question-in-drools-tp3729940p3729940.html" target="_blank">http://drools.46999.n3.nabble.com/Low-Date-question-in-drools-tp3729940p3729940.html</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<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>
</font></span></blockquote></div><br>