Description Usage Arguments Value Author(s) References Examples
View source: R/CAADate_DaysInMonth.R
CAADate_DaysInMonth
1 | CAADate_DaysInMonth(Month, bLeap)
|
Month |
Month: 1 to 12 |
bLeap |
Logical, indicate whether the month is Leap or not. |
Returns the total number of days in the month (28 - 31) which this date represents. The static version of the function can be used if you do not want to construct a CAADate instance to do this test.
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_DaysInMonth(Month = 2, bLeap = FALSE)
CAADate_DaysInMonth(Month = 2, bLeap = TRUE)
CAADate_DaysInMonth(Month = 3, bLeap = FALSE)
CAADate_DaysInMonth(Month = 3, bLeap = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.