bizdays comes with builtins calendars:

load_builtin_calendars()

Value

Has no return

Details

- actual - weekends - Brazil/ANBIMA - Brazil/B3

This function creates and registers these calendars. Once the calendars are loaded they can be used directly by their names.

This function is called in package `.onAttach`, so it is not necessary to call it directly. It is for internal use, package development or in situations where the user wants to call bizdays functions without attach the package.

Examples

bizdays::load_builtin_calendars()
bizdays::calendars()
#> Calendars: 
#> ANBIMA, Actual, Brazil/ANBIMA, Brazil/B3, Brazil/BMF, actual, weekends
bizdays::is.bizday("2020-01-01", "Brazil/ANBIMA")
#> [1] FALSE