Thirty360 Class Reference
[Day counters]

#include <ql/DayCounters/thirty360.hpp>

Inheritance diagram for Thirty360:

Inheritance graph
[legend]
List of all members.

Detailed Description

30/360 day count convention

The day count can be calculated according to US, European, or Italian conventions.

US (NASD) convention: if the starting date is the 31st of a month, it becomes equal to the 30th of the same month. If the ending date is the 31st of a month and the starting date is earlier than the 30th of a month, the ending date becomes equal to the 1st of the next month, otherwise the ending date becomes equal to the 30th of the same month.

European convention: starting dates or ending dates that occur on the 31st of a month become equal to the 30th of the same month.

Italian convention: starting dates or ending dates that occur on February and are grater than 27 become equal to 30 for computational sake.


Public Types

enum  Convention { USA, European, Italian }

Public Member Functions

 Thirty360 (Convention c=Thirty360::USA)


QuantLib.org
QuantLib
Hosted by
SourceForge.net Logo
Documentation generated by
doxygen