Now don&#39;t be hasty with a JIRA. Using Comparable for the arguments of the min and max accumulate functions will give you a result that is -- Comparable. So:<br><br>  $min: Comparable() from accumulate( Schedule( $d: date ), min( $d ) )<br>
<br>OK, this will give you the minimum data, bound to $min, although it won&#39;t let you write any constraint for the &quot;Comparable&quot; result fact. But, what&#39;s worse, it will not let you write<br><br>  $min: Number( intValue &gt; 100 ) from accumulate( X( $y: y ), min( $y ) )<br>
<br>any more (unless I&#39;m very much mistaken).<br><br>-W<br><br><br><br><div class="gmail_quote">On 25 March 2011 03:56, Greg Barton <span dir="ltr">&lt;<a href="mailto:greg_barton@yahoo.com">greg_barton@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Well, if it can work that way it should.  I&#39;d say open a JIRA and request that feature.  It works with the &quot;principle of least confusion.&quot; :)<br>

<div class="im"><br>
--- On Thu, 3/24/11, jkrupka &lt;<a href="mailto:jkrupka@gmail.com">jkrupka@gmail.com</a>&gt; wrote:<br>
<br>
&gt; From: jkrupka &lt;<a href="mailto:jkrupka@gmail.com">jkrupka@gmail.com</a>&gt;<br>
</div>&gt; Subject: Re: [rules-users] accumulate min over java.util.Date<br>
<div class="im">&gt; To: <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
</div>&gt; Date: Thursday, March 24, 2011, 8:26 PM<br>
<div><div></div><div class="h5">&gt; Yea the docs weren&#39;t really clear<br>
&gt; about it, so I just thought it would work<br>
&gt; for anything that implemented Comparable =)<br>
&gt;<br>
&gt; Yep, used the long from getTime() - not the prettiest way<br>
&gt; of doing it, but<br>
&gt; it works great.<br>
&gt;<br>
&gt; Thanks!<br>
&gt;<br>
&gt; --<br>
&gt; View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/accumulate-min-over-java-util-Date-tp2726081p2728477.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/accumulate-min-over-java-util-Date-tp2726081p2728477.html</a><br>

&gt; Sent from the Drools - User mailing list archive at<br>
&gt; Nabble.com.<br>
&gt; _______________________________________________<br>
&gt; rules-users mailing list<br>
&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;<br>
<br>
<br>
<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>
</div></div></blockquote></div><br>