42 return out <<
"Sunday";
44 return out <<
"Monday";
46 return out <<
"Tuesday";
48 return out <<
"Wednesday";
50 return out <<
"Thursday";
52 return out <<
"Friday";
54 return out <<
"Saturday";
Classes and functions for error handling.
#define QL_FAIL(message)
throw an error (possibly with file and line information)
detail::shortest_weekday_holder shortest_weekday(Weekday)
output weekdays in shortest format (two letters)
detail::long_weekday_holder long_weekday(Weekday)
output weekdays in long format
detail::short_weekday_holder short_weekday(Weekday)
output weekdays in short format (three letters)
std::ostream & operator<<(std::ostream &out, const short_date_holder &holder)
std::ostream & operator<<(std::ostream &out, GFunctionFactory::YieldCurveModel type)