[#absl-TimeZone-TimeInfo] = xref:absl.adoc[absl]::xref:absl/TimeZone.adoc[TimeZone]::TimeInfo :relfileprefix: ../../ :mrdocs: Information about the absolute times corresponding to a civil time. (Subseconds must be handled separately.) == Synopsis Declared in `<absl/time/time.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct TimeInfo; ---- == Description It is possible for a caller to pass a civil‐time value that does not represent an actual or unique instant in time (due to a shift in UTC offset in the TimeZone, which results in a discontinuity in the civil‐time components). For example, a daylight‐saving‐time transition skips or repeats civil times‐‐‐in the United States, March 13, 2011 02:15 never occurred, while November 6, 2011 01:15 occurred twice‐‐‐so requests for such times are not well‐defined. To account for these possibilities, `absl::TimeZone::TimeInfo` is richer than just a single `absl::Time`. == Enums [cols="1,4"] |=== | Name| Description | xref:absl/TimeZone/TimeInfo/CivilKind.adoc[`CivilKind`] | Describes how a civil time maps onto the absolute time line. |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:absl/TimeZone/TimeInfo/kind.adoc[`kind`] | how the civil time maps onto the absolute time line | xref:absl/TimeZone/TimeInfo/post.adoc[`post`] | time calculated using the post‐transition offset | xref:absl/TimeZone/TimeInfo/pre.adoc[`pre`] | time calculated using the pre‐transition offset | xref:absl/TimeZone/TimeInfo/trans.adoc[`trans`] | when the civil‐time discontinuity occurred |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#