Finance[IsHoliday] - check if given date is a holiday
|
Calling Sequence
|
|
IsHoliday(date, calendar)
|
|
Parameters
|
|
date
|
-
|
a string containing a date specification in a format recognized by Finance[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 IsHoliday command returns true if the given date is a holiday in the given calendar.
|
•
|
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[IsHoliday] command was introduced in Maple 15.
|
|
|
Download Help Document
Was this information helpful?