on_christmas <- yearly() %>%
recur_on_month_of_year("Dec") %>%
recur_on_day_of_month(25)
# Bundle a holiday name with its recurrence schedule to create a holiday
rholiday(on_christmas, "Christmas")
# This is how the built in holiday objects are created
hol_christmas()
Run the code above in your browser using DataLab