| getHolidays {qlcal} | R Documentation | 
Compute holidays or business days
Description
Compute the number of holidays (or business days) between two dates
Usage
getHolidays(from, to, includeWeekends = FALSE)
getBusinessDays(from, to)
Arguments
| from | A Date object with the start date | 
| to | A Date object with the end date | 
| includeWeekends | A boolean indicating if weekends should be included, default is ‘FALSE’ | 
Details
This function takes a start and end date and returns a vector of holidays (or business days) between them according to the active calendar.
Value
A Date vector with holidays or business days between the given dates
Examples
getHolidays(Sys.Date(), Sys.Date() + 30)
[Package qlcal version 0.0.12 Index]