<br>   Greg,<br><br>   Not possible to use jodatime at this moment, but I want to develop integration with it and/or JSR 310 for the coming versions.<br><br>   []s<br>   Edson<br><br><div class="gmail_quote">2009/5/19 Greg Barton <span dir="ltr">&lt;<a href="mailto:greg_barton@yahoo.com">greg_barton@yahoo.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Is it possible to use the joda-time classes as timestamp and interval fields in drools-fusion?  i.e.<br>
<br>
declare Foo<br>
    @role( event )<br>
    @timestamp( startTime )<br>
    @duration( interval )<br>
end<br>
<br>
...where...<br>
<br>
import org.joda.time.DateTime;<br>
import org.joda.time.Interval;<br>
<br>
public interface Foo {<br>
  public DateTime getStartTime();<br>
  public Interval getInterval();<br>
}<br>
<br>
I tried it and it&#39;s not working, but I want to make sure it&#39;s possible before I dig in.  There&#39;s a dependency in drools for joda-time and I&#39;d like to use it if possible.<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>
</blockquote></div><br><br clear="all"><br>-- <br>  Edson Tirelli<br>  JBoss Drools Core Development<br>  JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>