Up |
_scienceDateLeapYear
Return if an year is a leap year or not.
Prototype :
fun [I] I
- I : any year : should be posterior or equal at 1582 (gregorian calendar)
Return : I 1 if the year is a leap year, 0 if not and nil if error
See also :
Example :
fun main ()=
_showconsole;
_fooId _scienceDateLeapYear 2012; // 1
0;;