period (3) - Linux Manuals

period: period- and frequency-related classes and enumerations

NAME

ql/time/period.hpp - period- and frequency-related classes and enumerations

SYNOPSIS


#include <ql/time/frequency.hpp>
#include <ql/time/timeunit.hpp>
#include <ql/types.hpp>

Classes


class Period

Functions


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')
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)

Detailed Description

period- and frequency-related classes and enumerations

Author

Generated automatically by Doxygen for QuantLib from the source code.