CAADate_DateToJD: CAADate_DateToJD

Description Usage Arguments Value Author(s) References Examples

View source: R/CAADate_DateToJD.R

Description

CAADate_DateToJD

Usage

1
CAADate_DateToJD(Year, Month, Day, bGregorianCalendar)

Arguments

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)

Month

Month The month of the year (1 for January to 12 for December).

Day

Day The day of the month (Can include decimals).

bGregorianCalendar

bGregorianCalendar true to imply a date in the Gregorian Calendar, false means use the Julian Calendar.

Value

Julian Date

Author(s)

C++ code by PJ Naughter, imported to R by Jinlong Zhang

References

Meeus, J. H. (1991). Astronomical algorithms. Willmann-Bell, Incorporated.

Examples

1
CAADate_DateToJD(Year = 2014, Month = 2, Day = 1, bGregorianCalendar = TRUE)

helixcn/skycalc documentation built on March 31, 2021, 5:45 a.m.