CAADate_DayOfYear: CAADate_DayOfYear

Description Usage Arguments Value Author(s) References Examples

View source: R/CAADate_DayOfYear.R

Description

CAADate_DayOfYear

Usage

1
CAADate_DayOfYear(JD, Year, bGregorianCalendar)

Arguments

JD

The date in Dynamical time to calculate for.

Year

Year The year. (Years are counted astronomically i.e. 1 BC = Year 0)

bGregorianCalendar

Logical, refers to whether the Gregorian Calendar will be applied.

Value

Returns the day of year (including decimals) this date represents.

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_DayOfYear(JD = 2456655.5, Year = 2014, bGregorianCalendar = TRUE)

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