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.