holiday-Listing: List of holidays

listHolidaysR Documentation

List of holidays

Description

Returns a list of holidays.

Usage

listHolidays(pattern = ".*") 

Arguments

pattern

a pattern character string as required by the grep function.

Details

Returns a character vector containing the names of supported holidays matching pattern. The default is to return all holidays.

Value

a character vector

Examples

## listHolidays -

   # All Holidays:
   listHolidays()
   
   # Local Swiss Holidays:
   listHolidays("CH") 

timeDate documentation built on Jan. 7, 2023, 5:30 p.m.