QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions | Variables
weekday.hpp File Reference

Weekday enumeration. More...

#include <ql/qldefines.hpp>
#include <iosfwd>

Go to the source code of this file.

Classes

struct  long_weekday_holder
 
struct  short_weekday_holder
 
struct  shortest_weekday_holder
 

Namespaces

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

Enumerations

enum  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
}
 

Functions

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

Variables

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

Detailed Description

Weekday enumeration.

Definition in file weekday.hpp.