Returns the day-of-year for the given (realigned) civil-time value.
Example:
absl::CivilDay a(2015, 1, 1); int yd_jan_1 = absl::GetYearDay(a); // yd_jan_1 = 1 absl::CivilDay b(2015, 12, 31); int yd_dec_31 = absl::GetYearDay(b); // yd_dec_31 = 365
The one-based day-of-year on which cs falls.
| Name | Description |
|---|---|
| cs | The civil-time value to inspect. |