construct new calendar by joining business days from the given two calendars
a name representing a supported calendar (e.g. Toronto, NewYork) or a calendar data structure created using the Calendar constructor
The JoinBusinessDays command creates a new calendar obtained by joining business days from the given two calendars. Any dates that are business days in either of the given two calendars become business days in the new calendar.
Calendar1 ≔ Calendar⁡Toronto:
Calendar2 ≔ Calendar⁡Simple
Calendar2 ≔ moduleend module
AddHoliday⁡Calendar2,January 4, 2006:
IsHoliday⁡January 3, 2006,Calendar1
IsBusinessDay⁡January 3, 2006,Calendar1
IsHoliday⁡January 1, 2006,Calendar1
IsBusinessDay⁡January 1, 2006,Calendar1
Calendar3 ≔ JoinBusinessDays⁡Calendar1,Calendar2:
IsHoliday⁡January 1, 2006,Calendar3
IsHoliday⁡January 4, 2006,Calendar3
RemoveHoliday⁡January 1, 2006,Calendar3:
The Finance[JoinBusinessDays] command was introduced in Maple 15.
For more information on Maple 15 changes, see Updates in Maple 15.
Download Help Document
What kind of issue would you like to report? (Optional)
Thank you for submitting feedback on this help document. Your feedback will be used
to improve Maple's help in the future.