TDateAdjIntvl Struct Reference

A holiday-adjusted date interval. More...

#include <cdate.h>


Data Fields

TDateInterval interval
 Must be in days if isBusDays=T.
int isBusDays
 see JPMCDS_DATE_ADJ_TYPE_... constants
char * holidayFile
 Holiday file specification.
long badDayConv
 Only applies if isBusDays=F.


Detailed Description

A holiday-adjusted date interval.

Note that isBusDays used to be TBoolean. Now it can have three possible values - the third value (JPMCDS_DATE_ADJ_TYPE_WEEKDAY) indicates that we move forward a number of weekdays and then adjust for bad days.

The interval can be daily based or monthly based. If it is monthly based and the isBusDays flag is not calendar, then this indicates that business end of month adjustment applies, i.e. if the start date is the last business day of the month, then the end date is the chosen to be the last day of the month (which can subsequently be adjusted via the badDayConv to be the last business day of the month, but this is not done automatically).


The documentation for this struct was generated from the following file:

Distributed by BN Algorithms Ltd -- consulting in quantitative finance, mathematical algorithms and software implementations. CDS Home Page. For enquires contact webs@bnikolic.co.uk.
This documentation is derived from ISDA CDS Standard Model version 1.7. You can get a copy of the original ISDA code at www.bnikolic.co.uk. This is a derivative work under the terms of the ISDA CDS Standard Model Public License. BN Algorithms Ltd licenses this work to you solely for on-screen viewing on your own computer. Making copies and further distribution of this work is prohibited.
This documentation is provided "as-is", without warranty of any kind, either expressed or implied, including, without limitation, warranties that the documentation is free of defects, merchantable, fit for a particular purpose or non-infringing. the entire risk as to the quality of the documentation is with you. Should this documentation prove defective in any respect, you (not the licensor) assume the cost of any necessary correction. This disclaimer of warranty constitutes an essential part of this license.