26#include <ql/errors.hpp>
27#include <ql/time/calendar.hpp>
28#include <ql/time/date.hpp>
49 TimePeriod(
const std::vector<Date>& dates, Size mporDays = QuantLib::Null<Size>(),
Handles non-contiguous time period.
std::vector< Date > startDates_
std::vector< Date > endDates_
const std::vector< Date > & endDates() const
const std::vector< Date > & startDates() const
bool contains(const Date &d) const
Size numberOfContiguousParts() const
std::ostream & operator<<(std::ostream &out, EquityReturnType t)
TimePeriod totalTimePeriod(std::vector< std::string > timePeriods, Size mporDays, const QuantLib::Calendar &calendar)
Serializable Credit Default Swap.