calendar.fixedday: Add fixed day to a calendar

View source: R/calendars.R

calendar.fixeddayR Documentation

Add fixed day to a calendar

Description

Add fixed day to a calendar

Usage

calendar.fixedday(calendar, month, day, weight = 1, start = NULL, end = NULL)

Arguments

calendar

The calendar.

month, day

the month and the day of the fixed day to add.

weight

weight associated to the holiday.

start, end

Validity period of the holiday in the format "YYYY-MM-DD".

Examples

calendar <-calendar.new()
calendar.fixedday(calendar, 1, 1) # add New-Year
calendar.fixedday(calendar, 12, 25) # add Christmas

palatej/rjd3modelling documentation built on Jan. 3, 2023, 10:19 p.m.