QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Namespaces | Functions
date.cpp File Reference
#include <ql/time/date.hpp>
#include <ql/utilities/dataformatters.hpp>
#include <ql/errors.hpp>
#include <boost/date_time/gregorian/gregorian.hpp>
#include <boost/date_time/posix_time/posix_time_types.hpp>
#include <functional>
#include <iomanip>
#include <ctime>

Go to the source code of this file.

Namespaces

namespace  QuantLib
 
namespace  QuantLib::detail
 
namespace  QuantLib::io
 

Functions

std::ostream & operator<< (std::ostream &out, Month m)
 
std::size_t hash_value (const Date &d)
 
std::ostream & operator<< (std::ostream &out, const Date &d)
 
std::ostream & operator<< (std::ostream &out, const short_date_holder &holder)
 
std::ostream & operator<< (std::ostream &out, const long_date_holder &holder)
 
std::ostream & operator<< (std::ostream &out, const iso_date_holder &holder)
 
std::ostream & operator<< (std::ostream &out, const formatted_date_holder &holder)
 
detail::short_date_holder short_date (const Date &)
 output dates in short format (mm/dd/yyyy) More...
 
detail::long_date_holder long_date (const Date &)
 output dates in long format (Month ddth, yyyy) More...
 
detail::iso_date_holder iso_date (const Date &)
 output dates in ISO format (yyyy-mm-dd) More...
 
detail::formatted_date_holder formatted_date (const Date &, const std::string &fmt)
 output dates in user defined format using boost date functionality More...