[rules-users] compare with today

Mark Proctor mproctor at codehaus.org
Fri Jul 6 05:20:40 EDT 2012


On 05/07/2012 14:41, Tom Eugelink wrote:
> This question probably is asked before, but google does not seem to want to help me find it.
>
> In a decision table excel I want to compare a condition with today (in fact today + 30 days), but "< new Date()" is not accepted. How would I go about that?
create a class called "Today".Then insert new Today( new Date() ), you 
can now match against Today as a normal fact.

Mark
>
> Tom
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users




More information about the rules-users mailing list