Description Usage Arguments Value Author(s) References Examples
View source: R/CAADate_IsLeap.R
CAADate_IsLeap
1 | CAADate_IsLeap(Year, bGregorianCalendar)
|
Year |
Year The year. (Years are counted astronomically i.e. 1 BC = Year 0) Year The year. (Years are counted astronomically i.e. 1 BC = Year 0) |
bGregorianCalendar |
bGregorianCalendar true to imply a date in the Gregorian Calendar, false means use the Julian Calendar. |
true if the specified year is leap otherwise false.
C++ code by PJ Naughter, imported to R by Jinlong Zhang
Meeus, J. H. (1991). Astronomical algorithms. Willmann-Bell, Incorporated.
1 2 3 4 | CAADate_IsLeap(Year = 1998, bGregorianCalendar = TRUE)
CAADate_IsLeap(Year = 2000, bGregorianCalendar = TRUE)
CAADate_IsLeap(Year = 1996, bGregorianCalendar = TRUE)
CAADate_IsLeap(Year = 2013, bGregorianCalendar = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.