At overloads

Synopses

Declared in <absl/time/time.h>

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.

TimeInfo
At(CivilSecond ct) const;

Returns the civil time for this TimeZone at a certain absl::Time. If the input time is infinite, the output civil second will be set to CivilSecond::max() or min(), and the subsecond will be infinite.

CivilInfo
At(Time t) const;

Return Value

  • The absolute‐time information for ct in this time zone.

  • The civil‐time information for t in this time zone.

Parameters

Name

Description

ct

The civil time to convert.

t

The absolute time to convert.

Created with MrDocs