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.

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to