Go To Documentation Main IndexMain Index
Go To TIPS, Inc.TIPS Home
hol_maint

hol_maint (routine)

Add / Delete / Inquire to user-built array of holidays

Introduced in release: 1.0
Component: Generic
Purpose: Allows maintenance of an array of dates which are holidays, used as input given date can be added to the list, deleted from the listed, or checked against the list to see if it is on the list.

Results: If action is -1 or +1 (delete from list or add to list), this function returns the number of holidays currently in the list after the action has been performed. If action is 0 (check if this date is in the list), this function returns 1 (true) if it is on the list, or 0 (false) if it is not on the list. For actions -1 and +1, the holidays table is updated to reflect the new holiday list. Separate lists of holidays can be maintained independently for use with foreign instruments.

Error Conditions: Returned values should be ignored for a non-zero status. See Errors.

Last Mod Date: 05/16/1994© 2001 TIPS, Inc.Doc Version: 5.0