QuantLib 0.3.8
Getting started
Reference manual
|
ql/date.hpp File Reference
Detailed Description
date- and time-related classes, typedefs and enumerations
#include <ql/errors.hpp>
#include <ql/types.hpp>
#include <utility>
#include <functional>
Include dependency graph for date.hpp:
|
Namespaces |
namespace | QuantLib |
Classes |
class | Period |
| Time period described by a number of a given time unit. More...
|
class | Date |
| Concrete date class. More...
|
class | DateFormatter |
| Formats dates for output. More...
|
class | WeekdayFormatter |
| Formats weekday for output. More...
|
class | FrequencyFormatter |
| Formats frequency for output. More...
|
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
} |
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
} |
| 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.
|
|