getCalendar: Get new calendar objectb

View source: R/RcppExports.R

getCalendarR Documentation

Get new calendar objectb

Description

Get new calendar

Usage

getCalendar(calstr)

Arguments

calstr

Character variable identifying desired calendar

Details

This function returns an external pointer, classed as small S3 helper class, to a new QuantLib Calendar object identified by the calendar string.

Value

A external pointer classed as S3 class 'qlcalendar'

See Also

setCalendar

Examples

xp <- getCalendar("UnitedStates/NYSE")
xp  # invokes the print method
xp2 <- getCalendar("Canada/TSX")
xp2 # invokes the print method

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