QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
period- and frequency-related classes and enumerations More...
Go to the source code of this file.
Classes | |
class | Period |
struct | long_period_holder |
struct | short_period_holder |
Namespaces | |
namespace | QuantLib |
namespace | QuantLib::detail |
namespace | QuantLib::io |
Functions | |
std::ostream & | operator<< (std::ostream &out, const long_period_holder &holder) |
std::ostream & | operator<< (std::ostream &out, const short_period_holder &holder) |
detail::long_period_holder | long_period (const Period &) |
output periods in long format (e.g. "2 weeks") More... | |
detail::short_period_holder | short_period (const Period &) |
output periods in short format (e.g. "2w") More... | |
template<typename T > | |
Period | operator* (T n, TimeUnit units) |
template<typename T > | |
Period | operator* (TimeUnit units, T n) |
Period | operator- (const Period &p) |
Period | operator* (Integer n, const Period &p) |
Period | operator* (const Period &p, 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) |
period- and frequency-related classes and enumerations
Definition in file period.hpp.