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,
55 std::uint32_t second, std::uint64_t microsecond);
59 DateTime(std::uint32_t year, std::uint32_t month, std::uint32_t day,
60 std::uint32_t hour, std::uint32_t minute, std::uint32_t second,
61 std::uint64_t microsecond);
64 explicit DateTime(std::chrono::system_clock::time_point tp);
85 bool operator==(
const DateTime& other)
const noexcept;
90 std::uint32_t minute_;
91 std::uint32_t second_;
92 std::uint64_t microsecond_;