R/date.R

Defines functions date_get_month_offset date_get_year_offset

# Exported for testing

date_get_year_offset <- function(x) {
  .Call(warp_date_get_year_offset, x)
}

date_get_month_offset <- function(x) {
  .Call(warp_date_get_month_offset, x)
}

Try the warp package in your browser

Any scripts or data that you put into this service are public.

warp documentation built on Nov. 3, 2023, 1:07 a.m.