![]() |
Apache Ignite C++ Client
|
A date. More...
#include <ignite_date.h>
Public Member Functions | |
| constexpr | ignite_date () noexcept=default |
| constexpr | ignite_date (std::int32_t year, std::int32_t month, std::int32_t day_of_month) |
| constexpr std::int32_t | get_year () const noexcept |
| constexpr std::int_fast8_t | get_month () const noexcept |
| constexpr std::int_fast8_t | get_day_of_month () const noexcept |
| constexpr int | compare (const ignite_date &other) const noexcept |
A date.
This is modeled after java.time.LocalDate.
|
constexprdefaultnoexcept |
Default constructor.
|
inlineconstexpr |
Constructor.
| year | Year to represent, from -999,999,999 to 999,999,999. |
| month | Month-of-year, from 1 (January) to 12 (December). |
| day_of_month | Day-of-month, from 1 to 31. |
|
inlinenodiscardconstexprnoexcept |
compare to another value.
| other | Instance to compare to. |
|
inlinenodiscardconstexprnoexcept |
Gets the day-of-month field.
|
inlinenodiscardconstexprnoexcept |
Gets the month-of-year field.
|
inlinenodiscardconstexprnoexcept |
Gets the year field.