Checks Whether A Year Is Leap Year
This function tells whether a year is a leap year or not.
LeapYear(year)
year |
A numeric value indicating the year in the Gregorian calendar. |
Boolean telling whether the year is a leap year or not.
History:
0.1 - 2011-03 (V. Guemas, vguemas@ic3.cat) - Original code
1.0 - 2013-09 (N. Manubens, nicolau.manubens@ic3.cat) - Formatting to CRAN
print(LeapYear(1990)) print(LeapYear(1991)) print(LeapYear(1992)) print(LeapYear(1993))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.