[rules-users] date-effective
hypnosat7
ablarbi at yahoo.fr
Mon Aug 27 05:34:49 EDT 2007
I try this : rule "new rule"
date-effective "9-Jul-1974"
date-expires "10-Jul-1974"
when
then
end
but it seems not work !
java.lang.IllegalArgumentException: Invalid date input format: [9-Jul-1974]
it should follow: [dd-MMM-yyyy]
at org.drools.base.evaluators.DateFactory.parseDate(DateFactory.java:508)
at
org.drools.rule.builder.RuleBuildContext.setAttributes(RuleBuildContext.java:322)
at
org.drools.rule.builder.RuleBuildContext.<init>(RuleBuildContext.java:119)
at org.drools.compiler.PackageBuilder.addRule(PackageBuilder.java:415)
at org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:283)
at
org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:160)
any help please
hypnosat7 wrote:
>
> I put in one of my rules : date-effective "16-FEB-2007"
> But Drools 4 MR3 dosn't parse it in my project. Any help
> Thanks
>
--
View this message in context: http://www.nabble.com/date-effective-tf4036244.html#a12344040
Sent from the drools - user mailing list archive at Nabble.com.
More information about the rules-users
mailing list