![]() |
algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
|
A calendar date with no time of day or time zone. More...
#include <algotradelib/src/core/types.hpp>
Public Attributes | |
| int | year_ {0} |
| The year. | |
| unsigned | month_ {0} |
| The month, 1-12; zero means unset. | |
| unsigned | day_ {0} |
| The day of the month, 1-31; zero means unset. | |
Friends | |
| bool | operator== (const Date &lhs, const Date &rhs) |
| Compares two dates. | |
| bool | operator< (const Date &lhs, const Date &rhs) |
| Orders dates chronologically. | |
A calendar date with no time of day or time zone.
Settlement dates, calendar days and inquiry ranges are dates in the broker's local calendar.
| unsigned algotradelib::Date::day_ {0} |
The day of the month, 1-31; zero means unset.
Definition at line 1148 of file types.hpp.
Referenced by algotradelib::runner::date_of(), algotradelib::is_valid_date(), operator<, operator==, and algotradelib::kiwoom::today_in_seoul().
| unsigned algotradelib::Date::month_ {0} |
The month, 1-12; zero means unset.
Definition at line 1146 of file types.hpp.
Referenced by algotradelib::runner::date_of(), algotradelib::is_valid_date(), operator<, operator==, and algotradelib::kiwoom::today_in_seoul().
| int algotradelib::Date::year_ {0} |
The year.
Definition at line 1144 of file types.hpp.
Referenced by algotradelib::runner::date_of(), algotradelib::is_valid_date(), operator<, operator==, and algotradelib::kiwoom::today_in_seoul().