Type alias of a civil‐time year value. This type is guaranteed to (at least) support any year value supported by time_t.

Synopsis

Declared in <absl/time/civil_time.h>

using civil_year_t = /* implementation-defined */::cctz::year_t;

Description

Example:

absl::CivilSecond cs = ...; absl::civil_year_t y = cs.year(); cs = absl::CivilSecond(y, 1, 1, 0, 0, 0); // CivilSecond(CivilYear(cs))

Created with MrDocs