[#absl-TimeConversion] = xref:absl.adoc[absl]::TimeConversion :relfileprefix: ../ :mrdocs: 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`. == Synopsis Declared in `<absl/time/time.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct [[deprecated("Use `absl::TimeZone::TimeInfo`.")]] TimeConversion; ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]: Use `absl::TimeZone::TimeInfo`.. Use of this entity is allowed but discouraged. ==== == Description Deprecated. Use `absl::TimeZone::TimeInfo`. == Enums [cols="1,4"] |=== | Name| Description | xref:absl/TimeConversion/Kind-01.adoc[`Kind`] | Describes how a civil time maps onto the absolute time line. |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:absl/TimeConversion/kind-02.adoc[`kind`] | how the civil time maps onto the absolute time line | xref:absl/TimeConversion/normalized.adoc[`normalized`] | input values were outside their valid ranges | xref:absl/TimeConversion/post.adoc[`post`] | time calculated using the post‐transition offset | xref:absl/TimeConversion/pre.adoc[`pre`] | time calculated using the pre‐transition offset | xref:absl/TimeConversion/trans.adoc[`trans`] | when the civil‐time discontinuity occurred |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:absl/ConvertDateTime.adoc[`ConvertDateTime`] | Legacy version of `absl::TimeZone::At(absl::CivilSecond)` that takes the civil time as six, separate values (YMDHMS). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#