AddHoliday - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

Finance

  

AddHoliday

  

add a holiday in a calendar

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

AddHoliday(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 AddHoliday command updates a given calendar by adding a given date as a holiday.

• 

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 or a calendar data structure created using the Calendar constructor.

Examples

Create a sample calendar and modify it.

(1)

(2)

(3)

(4)

(5)

Compatibility

• 

The Finance[AddHoliday] command was introduced in Maple 15.

• 

For more information on Maple 15 changes, see Updates in Maple 15.

See Also

Finance[AdjustDate]

Finance[AdvanceDate]

Finance[Calendar]

Finance[Calendars]

Finance[IsBusinessDay]

Finance[IsEndOfMonth]

Finance[IsHoliday]

Finance[JoinBusinessDays]

Finance[JoinHolidays]

Finance[RemoveHoliday]

 


Download Help Document