![]() |
Apache Ignite C++ Client
|
A date together with time of day with nanosecond precision. More...
#include <ignite_date_time.h>
Public Member Functions | |
| constexpr | ignite_date_time () noexcept=default |
| constexpr | ignite_date_time (const ignite_date &date, const ignite_time &time) |
| constexpr const ignite_date & | date () const noexcept |
| constexpr const ignite_time & | time () const noexcept |
| constexpr int | compare (const ignite_date_time &other) const noexcept |
| Public Member Functions inherited from ignite::ignite_date | |
| 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 |
| Public Member Functions inherited from ignite::ignite_time | |
| constexpr | ignite_time () noexcept=default |
| constexpr | ignite_time (std::int_fast8_t hour, std::int_fast8_t minute, std::int_fast8_t second=0, std::int32_t nano=0) |
| constexpr std::int_fast8_t | get_hour () const noexcept |
| constexpr std::int_fast8_t | get_minute () const noexcept |
| constexpr std::int_fast8_t | get_second () const noexcept |
| constexpr std::int32_t | get_nano () const noexcept |
| constexpr int | compare (const ignite_time &other) const noexcept |
A date together with time of day with nanosecond precision.
This is modeled after java.time.LocalDateTime.
|
constexprdefaultnoexcept |
Default constructor.
|
inlineconstexpr |
Constructor.
| date | |
| time |
|
inlinenodiscardconstexprnoexcept |
compare to another value.
| other | Instance to compare to. |
|
inlinenodiscardconstexprnoexcept |
Gets the date part of this date-time.
|
inlinenodiscardconstexprnoexcept |
Gets the time part of this date-time.