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.)
--
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 2/2/
Hello,
Is there a convenient way to express rules on Java Date attributes in
shadow facts? Or is it advisable to convert all dates to integers (i.e.
add a getter that returns the same date in milliseconds or seconds)?
More specifically, I want to fire a rule under some conditions, one of
t