00001 #include <map> 00002 #include <boost/assign.hpp> 00003 00004 #include <ql/time/calendars/all.hpp> 00005 00006 namespace eepgwde { namespace daemon { 00007 using namespace std; 00008 using namespace boost::assign; 00009 00010 typedef std::map<const std::string, QuantLib::Calendar> mismatch_map_t; 00011 00012 static mismatch_map_t mismatches = map_list_of ( std::string("COP"), QuantLib::Calendar(QuantLib::Denmark()) ) ( std::string("DEL"), QuantLib::Calendar(QuantLib::India()) ) ( std::string("NY"), QuantLib::Calendar(QuantLib::UnitedStates()) ) ( std::string("STO"), QuantLib::Calendar(QuantLib::Sweden()) ) ( std::string("SYD"), QuantLib::Calendar(QuantLib::Australia()) ) ( std::string("TOK"), QuantLib::Calendar(QuantLib::Japan()) ) ( std::string("TOR"), QuantLib::Calendar(QuantLib::Canada()) ) ( std::string("ZUR"), QuantLib::Calendar(QuantLib::Switzerland()) ) ; 00013 }}