absl::TimeZone::TimeZone

Constructors

Synopses

Declared in <absl/time/time.h>

Constructs the UTC time zone; prefer UTCTimeZone() to be explicit.

constexpr
TimeZone() = default;
» more...

Constructs a copy of another time zone.

constexpr
TimeZone(TimeZone const& other) = default;
» more...

Constructs a time zone wrapping the given cctz time zone.

explicit
TimeZone(/* implementation-defined */::cctz::time_zone tz);
» more...

Parameters

NameDescription
otherThe time zone to copy.
tzThe underlying cctz time zone.