The util.Date class / util.Date methods |
Checks is the year passed as parameter is a leap year.
util.Date.isLeapYear( year ) RETURNING res BOOLEAN
The util.Date.isLeapYear() method returns TRUE if the year passed in parameter is a leap year.
IMPORT util MAIN DISPLAY util.Date.isLeapYear( 2003 ) DISPLAY util.Date.isLeapYear( 2004 ) END MAIN