An absl::TimeConversion represents the conversion of year, month, day, hour, minute, and second values (i.e., a civil time), in a particular absl::TimeZone, to a time instant (an absolute time), as returned by absl::ConvertDateTime(). Legacy version of absl::TimeZone::TimeInfo.

Synopsis

Declared in <absl/time/time.h>

struct [[deprecated("Use `absl::TimeZone::TimeInfo`.")]] TimeConversion;
Warning

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

Description

Deprecated. Use absl::TimeZone::TimeInfo.

Enums

Name

Description

Kind

Describes how a civil time maps onto the absolute time line.

Data Members

Name

Description

kind

how the civil time maps onto the absolute time line

normalized

input values were outside their valid ranges

post

time calculated using the post‐transition offset

pre

time calculated using the pre‐transition offset

trans

when the civil‐time discontinuity occurred

Non-Member Functions

Name

Description

ConvertDateTime

Legacy version of absl::TimeZone::At(absl::CivilSecond) that takes the civil time as six, separate values (YMDHMS).

Created with MrDocs