Re: JESS: Re: Java Date in JESS

2006-02-02 Thread Roger Studner
Not to dodge the answer, but I do milliseconds in all my date work. I guess in my mind I just didn't mind have a 'bean' object that did the work for me to allow my rules to be ignorant of what the value field type was that was being compared (until RHS 'pretty printing' of course) Roger On

Re: JESS: Re: Java Date in JESS

2006-02-02 Thread ejfried
I think Florian Fischer wrote: I just wondered if there is a more elegant way to deal with dates. Jess currently doesn't treat Date objects specially in any way. You could define a few deffunctions which compared dates, and then use those on your rule LHS (or a few Java Userfunctions.)