27 Time library [time]

27.11 Time zones [time.zone]

27.11.9 Class time_Β­zone_Β­link [time.zone.link]

27.11.9.1 Overview [time.zone.link.overview]

namespace std::chrono {
  class time_zone_link {
  public:
    time_zone_link(time_zone_link&&)            = default;
    time_zone_link& operator=(time_zone_link&&) = default;

    // unspecified additional constructors

    string_view name()   const noexcept;
    string_view target() const noexcept;
  };
}
A time_Β­zone_Β­link specifies an alternative name for a time_Β­zone.
time_Β­zone_Β­links are constructed when the time zone database is initialized.

27.11.9.2 Member functions [time.zone.link.members]

string_view name() const noexcept;
Returns: The alternative name for the time zone.
string_view target() const noexcept;
Returns: The name of the time_Β­zone for which this time_Β­zone_Β­link provides an alternative name.

27.11.9.3 Non-member functions [time.zone.link.nonmembers]

bool operator==(const time_zone_link& x, const time_zone_link& y) noexcept;
Returns: x.name() == y.name().
strong_ordering operator<=>(const time_zone_link& x, const time_zone_link& y) noexcept;
Returns: x.name() <=> y.name().