setCalendar: Set a calendar

View source: R/RcppExports.R

setCalendarR Documentation

Set a calendar

Description

Set a calendar

Usage

setCalendar(calstr)

Arguments

calstr

A character variable containing the market for which a calendar is to be set

Details

This function sets the default calendar to the given market or country convention. Note that additional calendar objects can be created with the getCalendar function.

Value

Nothing is returned but the global state is changed

See Also

getCalendar

Examples

setCalendar("UnitedStates/NYSE")  # sets global calendar
setCalendar("Canada/TSX")         # reset global calendar

qlcal documentation built on Feb. 18, 2026, 5:07 p.m.