15 #ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_DATE_H 16 #define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_DATE_H 37 Date(std::int64_t year,
int month,
int day);
40 std::int64_t
year()
const {
return year_; }
41 int month()
const {
return month_; }
42 int day()
const {
return day_; }
50 std::ostream&
operator<<(std::ostream& os, Date
const& date);
75 #endif // GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_DATE_H bool operator==(Date const &a, Date const &b)
std::int64_t year() const
bool operator<=(Date const &a, Date const &b)
bool operator!=(Date const &a, Date const &b)
Contains all the Cloud Spanner C++ client types and functions.
bool operator<(Date const &a, Date const &b)
Represents a date in the proleptic Gregorian calendar as a triple of year, month (1-12),...
bool operator>(Date const &a, Date const &b)
#define SPANNER_CLIENT_NS
bool operator>=(Date const &a, Date const &b)
std::ostream & operator<<(std::ostream &os, Backup const &bn)