Finance[RemoveHoliday] - remove a holiday from a calendar
|
Calling Sequence
|
|
RemoveHoliday(calendar, date)
|
|
Parameters
|
|
date
|
-
|
a string containing a date specification in a format recognized by ParseDate or a date data structure
|
calendar
|
-
|
a name representing a supported calendar (e.g. Toronto, NewYork) or a calendar data structure created using the Calendar constructor
|
|
|
|
|
Description
|
|
•
|
The RemoveHoliday updates a given calendar by making a given date a regular business day.
|
•
|
The parameter date must be a date specified in any of the formats recognized by the ParseDate command.
|
•
|
The parameter calendar must be either a name representing a supported calendar (e.g. Toronto, NewYork) or a calendar data structure created using the Calendar constructor.
|
|
|
Compatibility
|
|
•
|
The Finance[RemoveHoliday] command was introduced in Maple 15.
|
|
|
Examples
|
|
>
|
|
Create a sample calendar and modify it.
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
Now remove January 23, 2004 from this calendar.
>
|
|
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
|
|
Download Help Document
Was this information helpful?