25 constexpr int64_t
to_days() const noexcept {
30 return days == v.days;
33 return days != v.days;
39 return days <= v.days;
45 return days >= v.days;
63 constexpr date() noexcept = default;
65 constexpr date(
date const& v)
noexcept =
default;
72 return value == v.value;
75 return value != v.value;
78 return value < v.value;
81 return value <= v.value;
84 return value > v.value;
87 return value >= v.value;
89 explicit constexpr operator bool() const noexcept {
105 return int32_t(
value);
110bool is_playable_date(date d, absolute_time_point start, absolute_time_point end);
absolute_time_point & operator+=(int32_t v) noexcept
constexpr bool operator<=(absolute_time_point v) const noexcept
constexpr int64_t to_days() const noexcept
absolute_time_point operator+(int32_t v) const noexcept
constexpr bool operator>=(absolute_time_point v) const noexcept
constexpr bool operator<(absolute_time_point v) const noexcept
constexpr bool operator>(absolute_time_point v) const noexcept
constexpr bool operator!=(absolute_time_point v) const noexcept
constexpr bool operator==(absolute_time_point v) const noexcept
absolute_time_point() noexcept=default
constexpr date(date &&v) noexcept=default
constexpr date(date const &v) noexcept=default
year_month_day to_ymd(absolute_time_point base) const noexcept
constexpr bool operator>(date v) const noexcept
date operator-(int32_t v) const noexcept
constexpr bool operator>=(date v) const noexcept
constexpr int32_t to_raw_value() const noexcept
date & operator=(date const &v) noexcept=default
date & operator=(date &&v) noexcept=default
constexpr date() noexcept=default
constexpr bool operator<(date v) const noexcept
date operator+(int32_t v) const noexcept
constexpr bool operator<=(date v) const noexcept
date & operator+=(int32_t v) noexcept
constexpr bool operator!=(date v) const noexcept
constexpr bool operator==(date v) const noexcept
std::true_type zero_is_null_t
int32_t days_difference(year_month_day start, year_month_day end)
bool is_leap_year(int32_t year)
bool is_playable_date(date d, absolute_time_point start, absolute_time_point end)