Constructors

Synopses

Declared in <absl/time/time.h>

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

constexpr
TimeZone() = default;

Constructs a copy of another time zone.

constexpr
TimeZone(TimeZone const& other) = default;

Constructs a time zone wrapping the given cctz time zone.

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

Parameters

Name

Description

other

The time zone to copy.

tz

The underlying cctz time zone.

Created with MrDocs