TDateInterval Struct Reference

Definition of a date interval. More...

#include <cdate.h>

Data Fields

int prd
 Number of periods from offset date.
char prd_typ
 type of periods
int flag

Detailed Description

Definition of a date interval.

Field Documentation

Flag 0 - offset is value date -1 - offset is the previous date in the date array x - any other number is index into array of intervals. the date at that location is an offset

type of periods

D - day; M - month; W - week Q - 3 months; S - 6 months A - 12 months; Y - 12 months I - quarterly IMM period F - flexible end of month E - end of month J - monthly IMM period K - quarterly Australian futures period L - quarterly New Zealand (kiwi) futures period T - equity derivatives expiry - 3rd Friday monthly U - Lunar (i.e. 28 Day) period

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
This documentation is derived from ISDA CDS Standard Model version 1.7. You can get a copy of the original ISDA code at 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.