|
Namespaces |
namespace | QuantLib |
namespace | QuantLib::detail |
namespace | QuantLib::io |
Typedefs |
typedef Integer | Day |
| Day number.
|
typedef Integer | Year |
| Year number.
|
Enumerations |
enum | Weekday {
Sunday = 1,
Monday = 2,
Tuesday = 3,
Wednesday = 4,
Thursday = 5,
Friday = 6,
Saturday = 7,
Sun = 1,
Mon = 2,
Tue = 3,
Wed = 4,
Thu = 5,
Fri = 6,
Sat = 7
} |
enum | Month {
January = 1,
February = 2,
March = 3,
April = 4,
May = 5,
June = 6,
July = 7,
August = 8,
September = 9,
October = 10,
November = 11,
December = 12,
Jan = 1,
Feb = 2,
Mar = 3,
Apr = 4,
Jun = 6,
Jul = 7,
Aug = 8,
Sep = 9,
Oct = 10,
Nov = 11,
Dec = 12
} |
| Month names.
|
enum | IMMMonth { H = 3,
M = 6,
U = 9,
Z = 12
} |
| Main cycle of the International Money Market (a.k.a. IMM) Months.
|
enum | Frequency {
NoFrequency = -1,
Once = 0,
Annual = 1,
Semiannual = 2,
EveryFourthMonth = 3,
Quarterly = 4,
Bimonthly = 6,
Monthly = 12
} |
| Frequency of events. More...
|
enum | TimeUnit { Days,
Weeks,
Months,
Years
} |
| Units used to describe time periods.
|
Functions |
std::ostream & | operator<< (std::ostream &, const long_weekday_holder &) |
std::ostream & | operator<< (std::ostream &, const short_weekday_holder &) |
std::ostream & | operator<< (std::ostream &, const shortest_weekday_holder &) |
detail::long_weekday_holder | long_weekday (Weekday) |
| output weekdays in long format
|
detail::short_weekday_holder | short_weekday (Weekday) |
| output weekdays in short format (three letters)
|
detail::shortest_weekday_holder | shortest_weekday (Weekday) |
| output weekdays in shortest format (two letters)
|
std::ostream & | operator<< (std::ostream &, const long_period_holder &) |
std::ostream & | operator<< (std::ostream &, const short_period_holder &) |
detail::long_period_holder | long_period (const Period &) |
| output periods in long format (e.g. "2 weeks")
|
detail::short_period_holder | short_period (const Period &) |
| output periods in short format (e.g. "2w")
|
std::ostream & | operator<< (std::ostream &, const short_date_holder &) |
std::ostream & | operator<< (std::ostream &, const long_date_holder &) |
std::ostream & | operator<< (std::ostream &, const iso_date_holder &) |
detail::short_date_holder | short_date (const Date &) |
| output dates in short format (mm/dd/yyyy)
|
detail::long_date_holder | long_date (const Date &) |
| output dates in long format (Month ddth, yyyy)
|
detail::iso_date_holder | iso_date (const Date &) |
| output dates in ISO format (yyyy-mm-dd)
|
Period | operator * (Integer n, TimeUnit units) |
Period | operator * (TimeUnit units, Integer n) |
bool | operator== (const Period &p1, const Period &p2) |
bool | operator!= (const Period &p1, const Period &p2) |
bool | operator> (const Period &p1, const Period &p2) |
bool | operator<= (const Period &p1, const Period &p2) |
bool | operator>= (const Period &p1, const Period &p2) |
BigInteger | operator- (const Date &d1, const Date &d2) |
bool | operator== (const Date &d1, const Date &d2) |
bool | operator!= (const Date &d1, const Date &d2) |
bool | operator< (const Date &d1, const Date &d2) |
bool | operator<= (const Date &d1, const Date &d2) |
bool | operator> (const Date &d1, const Date &d2) |
bool | operator>= (const Date &d1, const Date &d2) |