absl::Time::Breakdown

The calendar and wall-clock (aka "civil time") components of an absl::Time in a certain absl::TimeZone. This struct is not intended to represent an instant in time. So, rather than passing a Time::Breakdown to a function, pass an absl::Time and an absl::TimeZone.

Synopsis

Declared in <absl/time/time.h>

struct [[deprecated("Use `absl::TimeZone::CivilInfo`.")]] Breakdown;

WARNING

Deprecated: Use `absl::TimeZone::CivilInfo`.. Use of this entity is allowed but discouraged.

Description

Deprecated. Use absl::TimeZone::CivilInfo.

Data Members

NameDescription
day day of month [1:31]
hour hour of day [0:23]
is_dst is offset non-standard?
minute minute of hour [0:59]
month month of year [1:12]
offset seconds east of UTC
second second of minute [0:59]
subsecond [Seconds(0):Seconds(1)) if finite]
weekday 1==Mon, ..., 7=Sun
year year (e.g., 2013)
yearday day of year [1:366]
zone_abbr time-zone abbreviation (e.g., "PST")