Checks wether a given year is a leap year or not.
util.isLeapYear(year)
A year or vector of years to check.
Returns a boolean vector determining wether the given years are leap years (TRUE) or not (FALSE).
This function checks wether a year (yyyy) is a leap year or not.
# NOT RUN {
util.isLeapYear(2000:2012)
# }
Run the code above in your browser using DataLab