Skip to contents

Create a Roman date object.

Usage

roman_date(
  year = integer(),
  month = integer(),
  event = integer(),
  count = integer(),
  leap = logical()
)

as_roman(date, ...)

Arguments

year

A numeric vector of years

month

A numeric vector of months

event

A numeric vector of events: 1 = KALENDS, 2 = NONES, 3 = IDES

count

A numeric vector of counts:

leap

A logical vector indicating if year is a leap year

date

A date object

...

Additional arguments not currently used

Value

A roman vector object

Examples

roman_date(66, 4, 1, 1, FALSE)
#> <roman_date[1]>
#> [1] 66-Apr-Kalends
as_roman(Sys.Date())
#> <roman_date[1]>
#> [1] 2025-May-pridie_Ides