Learn R Programming

calcal (version 1.0.0)

babylonian_date: Babylonian calendar dates

Description

The classical Babylonian calendar was a lunisolar calendar with a fixed 19-year Metonic cycle.

Usage

babylonian_date(
  year = integer(),
  month = integer(),
  leap_month = logical(),
  day = integer()
)

as_babylonian(date)

Value

A babylonian vector object

Arguments

year

Numeric vector of years

month

Numeric vector of months

leap_month

Logical vector of leap months

day

Numeric vector of days

date

Vector of dates on some calendar.

See Also

cal_babylonian

Examples

Run this code
tibble::tibble(
  gregorian = gregorian_date(2335, 1, 1:2),
  babylonian = as_babylonian(gregorian)
)
babylonian_date(2335, 6, FALSE, 1:2)

Run the code above in your browser using DataLab