listHolidays {timeDate} | R Documentation |
List of holidays
Description
Returns a list of holidays.
Usage
listHolidays(pattern = ".*")
Arguments
pattern |
a pattern character string as required by the |
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")
[Package timeDate version 4032.109 Index]