[#absl-TimeConversion]
= xref:absl.adoc[absl]::TimeConversion
:relfileprefix: ../
:mrdocs:

An `absl&colon;&colon;TimeConversion` represents the conversion of year, month, day, hour, minute, and second values (i&period;e&period;, a civil time), in a particular `absl&colon;&colon;TimeZone`, to a time instant (an absolute time), as returned by `absl&colon;&colon;ConvertDateTime()`&period; Legacy version of `absl&colon;&colon;TimeZone&colon;&colon;TimeInfo`&period;

== Synopsis

Declared in `&lt;absl&sol;time&sol;time&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct &lsqb;&lsqb;deprecated(&quot;Use &grave;absl&colon;&colon;TimeZone&colon;&colon;TimeInfo&grave;&period;&quot;)&rsqb;&rsqb; TimeConversion;
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]: Use &grave;absl&colon;&colon;TimeZone&colon;&colon;TimeInfo&grave;&period;. Use of this entity is allowed but discouraged.
====
== Description

Deprecated&period; Use `absl&colon;&colon;TimeZone&colon;&colon;TimeInfo`&period;

== Enums

[cols="1,4"]
|===
| Name| Description
| xref:absl/TimeConversion/Kind-01.adoc[`Kind`] 
| Describes how a civil time maps onto the absolute time line&period;
|===


== 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&hyphen;transition offset
| xref:absl/TimeConversion/pre.adoc[`pre`] 
| time calculated using the pre&hyphen;transition offset
| xref:absl/TimeConversion/trans.adoc[`trans`] 
| when the civil&hyphen;time discontinuity occurred
|===


== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:absl/ConvertDateTime.adoc[`ConvertDateTime`]
| Legacy version of `absl&colon;&colon;TimeZone&colon;&colon;At(absl&colon;&colon;CivilSecond)` that takes the civil time as six, separate values (YMDHMS)&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
