Most of the rules I need to write have a date-based component. Examples:
If it is less than seven days before user's birthday...
If it is more than three hours since user's last meal...
If it is between four and seven days before user's next appointment...
There doesn't appear to be a way to do this without an eval and some
behind-the-scenes complexity. Am I missing something?
It would be nice if the syntax natively supported date interval comparisons.
Since the current time is always changing, any constraint using one of these
constructions would have to be re-evaluated every time (just like an eval),
but it would at least be easy to write the rules.
--
Dirk Bergstrom [EMAIL PROTECTED]
_____________________________________________
Juniper Networks Inc., Computer Geek
Tel: 408.745.3182 Fax: 408.745.8905
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email