Information about the civil time corresponding to an absolute time. This struct is not intended to represent an instant in time. So, rather than passing a TimeZone::CivilInfo to a function, pass an absl::Time and an absl::TimeZone.

Synopsis

Declared in <absl/time/time.h>

struct CivilInfo;

Data Members

Name

Description

cs

the civil time

is_dst

is offset non‐standard?

offset

seconds east of UTC

subsecond

the subsecond part of the civil time

zone_abbr

time‐zone abbreviation (e.g., "PST")

Created with MrDocs