timeDate (version 4032.109)

listHolidays: List of holidays

Description

Returns a list of holidays.

Usage

listHolidays(pattern = ".*")

Value

a character vector

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.

Examples

Run this code
## listHolidays -

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

Run the code above in your browser using DataLab