Skip to contents

Calculate all the near-full or near-new moons in a vector of Gregorian years

Usage

new_moons(year)

full_moons(year)

Arguments

year

A vector of Gregorian years

Value

A vector of dates

Examples

full_moons(2025)
#> <gregorian[12]>
#>  [1] 2025-Jan-15 2025-Feb-13 2025-Mar-15 2025-Apr-13 2025-May-13 2025-Jun-11
#>  [7] 2025-Jul-10 2025-Aug-09 2025-Sep-07 2025-Oct-07 2025-Nov-05 2025-Dec-05
new_moons(2025)
#> <gregorian[12]>
#>  [1] 2025-Jan-30 2025-Feb-28 2025-Mar-29 2025-Apr-28 2025-May-27 2025-Jun-25
#>  [7] 2025-Jul-25 2025-Aug-23 2025-Sep-22 2025-Oct-22 2025-Nov-20 2025-Dec-20