fmdates (version 0.1.4)

JointCalendar: Joint calendars

Description

Sometimes the calendar governing a financial contract is defined by multiple single locales. These joint calendars are represented by the JointCalendar class.

Usage

JointCalendar(calendars, rule = all)

Arguments

calendars

a list of at least one Calendar() objects

rule

either all or any corresponding to a date being good if it is good in all or any of the calendars supplied.

Value

an object of class JointCalendar when using JointCalendar()

See Also

Other calendar classes: Calendar

Examples

Run this code
# NOT RUN {
JointCalendar(list(AUSYCalendar(), AUMECalendar()), all)
JointCalendar(list(AUSYCalendar(), AUMECalendar()), any)
# }

Run the code above in your browser using DataLab