Logo Search packages:      
Sourcecode: quantlib version File versions  Download package

weekday.hpp File Reference

Weekday enumeration. More...

#include <ql/qldefines.hpp>
#include <ostream>
Include dependency graph for weekday.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  QuantLib::detail::long_weekday_holder
struct  QuantLib::detail::short_weekday_holder
struct  QuantLib::detail::shortest_weekday_holder


namespace  QuantLib


enum  QuantLib::Weekday {
  Sunday = 1, Monday = 2, Tuesday = 3, Wednesday = 4,
  Thursday = 5, Friday = 6, Saturday = 7, Sun = 1,
  Mon = 2, Tue = 3, Wed = 4, Thu = 5,
  Fri = 6, Sat = 7


std::ostream & QuantLib::detail::operator<< (std::ostream &out, const long_weekday_holder &holder)
std::ostream & QuantLib::detail::operator<< (std::ostream &out, const short_weekday_holder &holder)
std::ostream & QuantLib::detail::operator<< (std::ostream &out, const shortest_weekday_holder &holder)


detail::long_weekday_holder QuantLib::io::long_weekday (Weekday)
 output weekdays in long format
detail::short_weekday_holder QuantLib::io::short_weekday (Weekday)
 output weekdays in short format (three letters)
detail::shortest_weekday_holder QuantLib::io::shortest_weekday (Weekday)
 output weekdays in shortest format (two letters)

Detailed Description

Weekday enumeration.

Definition in file weekday.hpp.

Generated by  Doxygen 1.6.0   Back to index