If you need source compatibility between ECLIPSE and Jess, I would think the only way you're going to get it is to write a set of functions in both ECLIPSE and Jess which have the same interface. If ECLIPSE already has a set of standard date-related functions, maybe you could emulate them in Jess.
If you didn't need source compatibility, then you could simply work with java.util.Date objects directly from the Jess language -- perhaps with some help from a small set of deffunctions. Pattern matching with Dates comes up periodically on this list; maybe Jess needs DATE as a built-in type? Anybody have any ideas on this? I think [EMAIL PROTECTED] wrote: > Greetings, > I am converting a Haley ECLIPSE knowledge base that I developed a few > years ago so that it is interoperable between JESS and ECLIPSE. I have to > maintain interoperability because ECLIPSE is being presently used in a > legacy Win32 application and JESS is being used in a new Java-based web > application that needs to use the same business rules but not share the > same middle tier. > > The knowledge base does extensive reasoning with dates and I have not > been able to find any reference in the documentation or the mail archive > about using dates in JESS. The only option I see is to extend JESS with a > data function. Is my perception correct? > > John Sederberg > --------------------------------------------------------- Ernest Friedman-Hill Distributed Systems Research Phone: (925) 294-2154 Sandia National Labs FAX: (925) 294-2234 Org. 8920, MS 9012 [EMAIL PROTECTED] PO Box 969 http://herzberg.ca.sandia.gov Livermore, CA 94550 -------------------------------------------------------------------- To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use your own address!) List problems? Notify [EMAIL PROTECTED] --------------------------------------------------------------------