Determine if it is a leap-year.
 

1 date.isLeapYear

<date.isLeapYear>
    <year_or_date /> *
</date.isLeapYear>
Example
Copy
<xsql-script name='date_parse_sample1'>
    <body>
        <set name='var'><date.isLeapYear>2004</date.isLeapYear></set>
        <println><var /></println>
    </body>
</xsql-script>

Returns:

Copy
true