Greg,
Not possible to use jodatime at this moment, but I want to develop integration with it and/or JSR 310 for the coming versions.
[]s
Edson
2009/5/19 Greg Barton
<greg_barton@yahoo.com>
Is it possible to use the joda-time classes as timestamp and interval fields in drools-fusion? i.e.
declare Foo
@role( event )
@timestamp( startTime )
@duration( interval )
end
...where...
import org.joda.time.DateTime;
import org.joda.time.Interval;
public interface Foo {
public DateTime getStartTime();
public Interval getInterval();
}
I tried it and it's not working, but I want to make sure it's possible before I dig in. There's a dependency in drools for joda-time and I'd like to use it if possible.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
Edson Tirelli
JBoss Drools Core Development
JBoss, a division of Red Hat @ www.jboss.com