equinox: March and September equinox

Description Usage Arguments Value

View source: R/dates.R

Description

Determine the date/time of March and September Equinoxes. This implements Jean Meeus' algorithm (Astronomical Algorithms 1st Ed, 1991, Chapter 26).

Usage

1
equinox(years, season = "mar", tz = "UTC", want_dt = FALSE)

Arguments

years

a numeric vector of years

season

defines the Equinox sought. Can be mar (default) or sep.

tz

time zone for which equinox instant should be returned (default: "UTC")

want_dt

a flag indicating whether the returned date should be in dynamical time (default: FALSE)

Value

the date-time (UTC) of the Equinox (drop sub-minute precision)


ThVWh/ralibr documentation built on April 4, 2018, 4:41 a.m.