Learn R Programming

calcal (version 1.0.0)

chinese_new_year: Chinese holidays

Description

Dates are returned as Gregorian dates

Usage

chinese_new_year(year)

dragon_festival(year)

qing_ming(year)

Value

A vector of dates on the Gregorian calendar

Arguments

year

The year on the Gregorian calendar

See Also

chinese_date

Examples

Run this code
tibble::tibble(
  year = 2025:2030,
  cny = chinese_new_year(year),
  qm = qing_ming(year),
  dbf = dragon_festival(year)
)

Run the code above in your browser using DataLab