[rules-users] can we compare two dates(format:mm/dd/yy) in a DSL file
Basha
sikkandar.nawabjan at ustri.com
Wed Apr 4 08:24:24 EDT 2007
rule "Check Dates"
when
obj1:Objectnmae($effdate:startdate<"12-12-2007")
then
System.out.println("Error occured") ;
end
kind of above date check syntax u can use it in DRL first then copy paste
in DSL with appropriate Expression.
thats all
vijay nooka wrote:
>
> i want to compare two dates in a DSL file..can any one helpout to
> implement in DSL file....
>
> thanks
> vijay
>
--
View this message in context: http://www.nabble.com/can-we-compare-two-dates%28format%3Amm-dd-yy%29-in-a-DSL-file-tf3524801.html#a9835863
Sent from the drools - user mailing list archive at Nabble.com.
More information about the rules-users
mailing list