An absl::TimeConversion represents the conversion of year, month, day, hour, minute, and second values (i.e., a civil time), in a particular absl::TimeZone, to a time instant (an absolute time), as returned by absl::ConvertDateTime(). Legacy version of absl::TimeZone::TimeInfo.
Declared in <absl/time/time.h>
struct [[deprecated("Use `absl::TimeZone::TimeInfo`.")]] TimeConversion;
Deprecated: Use `absl::TimeZone::TimeInfo`.. Use of this entity is allowed but discouraged.
Deprecated. Use absl::TimeZone::TimeInfo.
| Name | Description |
|---|---|
Kind | Describes how a civil time maps onto the absolute time line. |
| Name | Description |
|---|---|
kind | how the civil time maps onto the absolute time line |
normalized | input values were outside their valid ranges |
post | time calculated using the post-transition offset |
pre | time calculated using the pre-transition offset |
trans | when the civil-time discontinuity occurred |
| Name | Description |
|---|---|
ConvertDateTime | Legacy version of absl::TimeZone::At(absl::CivilSecond) that takes the civil time as six, separate values (YMDHMS). |