[#absl-TimeZone-At-00] = xref:absl.adoc[absl]::xref:absl/TimeZone.adoc[TimeZone]::At :relfileprefix: ../../ :mrdocs: Returns an `absl::TimeInfo` containing the absolute time(s) for this TimeZone at an `absl::CivilSecond`. When the civil time is skipped or repeated, returns times calculated using the pre‐transition and post‐ transition UTC offsets, plus the transition time itself. == Synopsis Declared in `<absl/time/time.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:absl/TimeZone/TimeInfo.adoc[TimeInfo] At(xref:absl/CivilSecond.adoc[CivilSecond] ct) const; ---- == Description Examples: // A unique civil time const auto jan01 = lax.At(absl::CivilSecond(2011, 1, 1, 0, 0, 0)); // jan01.kind == TimeZone::TimeInfo::UNIQUE // jan01.pre is 2011‐01‐01 00:00:00 ‐0800 // jan01.trans is 2011‐01‐01 00:00:00 ‐0800 // jan01.post is 2011‐01‐01 00:00:00 ‐0800 // A Spring DST transition, when there is a gap in civil time const auto mar13 = lax.At(absl::CivilSecond(2011, 3, 13, 2, 15, 0)); // mar13.kind == TimeZone::TimeInfo::SKIPPED // mar13.pre is 2011‐03‐13 03:15:00 ‐0700 // mar13.trans is 2011‐03‐13 03:00:00 ‐0700 // mar13.post is 2011‐03‐13 01:15:00 ‐0800 // A Fall DST transition, when civil times are repeated const auto nov06 = lax.At(absl::CivilSecond(2011, 11, 6, 1, 15, 0)); // nov06.kind == TimeZone::TimeInfo::REPEATED // nov06.pre is 2011‐11‐06 01:15:00 ‐0700 // nov06.trans is 2011‐11‐06 01:00:00 ‐0800 // nov06.post is 2011‐11‐06 01:15:00 ‐0800 == Return Value The absolute‐time information for `ct` in this time zone. == Parameters [cols="1,4"] |=== | Name| Description | *ct* | The civil time to convert. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#