Does anyone know how to access Java Public Static variables from JESS

ie. Use HOUR_OF_DAY public static constant of the GregorianCalendar

public class GregorianCalendar extends Calendar 
{
        public static final int HOUR_OF_DAY;

        ...

}

(deffunction getHourOfDay()
        (bind ?calendar (new GregorianCalendar))
        (return (?calendar get HOUR_OF_DAY))
)

How do I specify GregorianCalendar.HOUR_OF_DAY in JESS ?

Thanks for any help

-Mark Guadagna

---------------------------------------------------------------------
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]
---------------------------------------------------------------------

Reply via email to