[rules-users] Using joda-time in drools-fusion
Edson Tirelli
tirelli at post.com
Tue May 19 12:55:09 EDT 2009
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 at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090519/f117ac08/attachment.html
More information about the rules-users
mailing list