|
Google Cloud Spanner C++ Client
A C++ Client Library for Google Cloud Spanner
|
Represents a date in the proleptic Gregorian calendar as a triple of year, month (1-12), and day (1-31). More...
#include <google/cloud/spanner/date.h>
Public Member Functions | |
| Date (std::int64_t year, int month, int day) | |
| Date () | |
| std::int64_t | year () const |
| int | month () const |
| int | day () const |
Represents a date in the proleptic Gregorian calendar as a triple of year, month (1-12), and day (1-31).
Standard C++11 lacks a good "date" abstraction, so we supply a simple implementation of a YMD triple.
| google::cloud::spanner::v1::Date::Date | ( | std::int64_t | year, |
| int | month, | ||
| int | day | ||
| ) |
1.8.15