<font size=2 face="sans-serif">Hello Laun,</font>
<br>
<br><font size=2 face="sans-serif">Thank you for your quick response. &nbsp;This
date is a date coming from a DB2 date field and is valid in my incoming
data. &nbsp;Frankly, I am with you, why not null versus a silly low date
as such, arggggh. &nbsp;But since it is coming in as such do you know of
a work around?</font>
<br>
<br><font size=2 face="sans-serif">Thank so much,</font>
<br><font size=2 face="sans-serif">Nancy</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">Wolfgang Laun &lt;wolfgang.laun@gmail.com&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">To: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">Rules Users List &lt;rules-users@lists.jboss.org&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">02/09/2012 10:31 AM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject: &nbsp; &nbsp;
&nbsp; &nbsp;</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: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">rules-users-bounces@lists.jboss.org</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'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><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 &nbsp;understand this low date? &nbsp;I have tried
single,<br>
double, and no quotes around the low date and all result in a similiar
error<br>
message. &nbsp;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"><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 size=2>_______________________________________________<br>
rules-users mailing list<br>
rules-users@lists.jboss.org<br>
</font></tt><a href="https://lists.jboss.org/mailman/listinfo/rules-users"><tt><font size=2>https://lists.jboss.org/mailman/listinfo/rules-users</font></tt></a><tt><font size=2><br>
</font></tt>
<br>

<table><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></table>