Tests for equality.
constexpr bool operator==( const date& rhs) const noexcept;
date
Two dates are considered equal if all of its individual components are equal. This function works for invalid dates, too.
No-throw guarantee.