|
dxFeed Graal CXX API v9.0.0
|
Functions of the day identifiers: the number of days since Unix epoch of January 1, 1970. More...
Functions | |
| DXFCPP_EXPORT std::int32_t | getDayIdByYearMonthDay (std::int32_t year, std::int32_t month, std::int32_t day) |
| Returns the day identifier for the specified year, month and day in Gregorian calendar. | |
Functions of the day identifiers: the number of days since Unix epoch of January 1, 1970.
| DXFCPP_EXPORT std::int32_t day_util::getDayIdByYearMonthDay | ( | std::int32_t | year, |
| std::int32_t | month, | ||
| std::int32_t | day ) |
Returns the day identifier for the specified year, month and day in Gregorian calendar.
The day identifier is defined as the number of days since Unix epoch of January 1, 1970. Month must be between 1 and 12 inclusive. Year and day might take arbitrary values assuming proleptic Gregorian calendar.
| year | The year. |
| month | The month between 1 and 12 inclusive. |
| day | The day. |
| InvalidArgumentException | if the month is less than 1 or more than 12. |