10namespace storages::
mysql {
19 Date(std::uint32_t year, std::uint32_t month, std::uint32_t day);
22 explicit Date(std::chrono::system_clock::time_point tp);
35 std::uint32_t
GetDay()
const noexcept;
37 bool operator==(
const Date& other)
const noexcept;
54 DateTime(Date date, std::uint32_t hour, std::uint32_t minute, std::uint32_t second, std::uint64_t microsecond);
65 std::uint64_t microsecond
69 explicit DateTime(std::chrono::system_clock::time_point tp);
90 bool operator==(
const DateTime& other)
const noexcept;
95 std::uint32_t minute_;
96 std::uint32_t second_;
97 std::uint64_t microsecond_;