28#ifndef quantlib_asx_hpp
29#define quantlib_asx_hpp
40 V = 10,
X = 11,
Z = 12 };
44 bool mainCycle =
true);
47 static bool isASXcode(
const std::string& in,
48 bool mainCycle =
true);
56 static std::string
code(
const Date& asxDate);
64 static Date date(
const std::string& asxCode,
72 bool mainCycle =
true);
79 bool mainCycle =
true,
87 bool mainCycle =
true);
93 static std::string
nextCode(
const std::string& asxCode,
94 bool mainCycle =
true,
date- and time-related classes, typedefs and enumerations
Main cycle of the Australian Securities Exchange (a.k.a. ASX) months.
static Date date(const std::string &asxCode, const Date &referenceDate=Date())
static std::string nextCode(const Date &d=Date(), bool mainCycle=true)
next ASX code following the given date
static Date nextDate(const Date &d=Date(), bool mainCycle=true)
next ASX date following the given date
static bool isASXcode(const std::string &in, bool mainCycle=true)
returns whether or not the given string is an ASX code
static std::string code(const Date &asxDate)
static bool isASXdate(const Date &d, bool mainCycle=true)
returns whether or not the given date is an ASX date