calendar-holidays-weekdays: Calendar's holidays and weekdays

calendar-holidays-weekdaysR Documentation

Calendar's holidays and weekdays

Description

Returns calendar's list of holidays and weekdays

Usage

holidays(cal)

## Default S3 method:
holidays(cal)

## S3 method for class 'Calendar'
holidays(cal)

## S3 method for class 'character'
holidays(cal)

## Default S3 method:
weekdays(x, ...)

## S3 method for class 'Calendar'
weekdays(x, ...)

## S3 method for class 'character'
weekdays(x, ...)

Arguments

cal

character with calendar name or the calendar object

x

character with calendar name or the calendar object

...

unused argument (this exists to keep compliance with weekdays generic)

Examples

holidays("actual")
weekdays("actual")
# empty calls return the default calendar attributes
holidays()
weekdays()

wilsonfreitas/R-bizdays documentation built on Feb. 14, 2024, 4:17 a.m.