Namespaces
Variants
Views
Actions

std::chrono::zoned_time<Duration,TimeZonePtr>::get_time_zone

From cppreference.com
< cpp‎ | chrono‎ | zoned time
 
 
Utilities library
General utilities
Relational operators (deprecated in C++20)
 
 
 
TimeZonePtr get_time_zone() const;
(since C++20)

Retrieves the stored time zone pointer.

[edit] Return value

A copy of the stored time zone pointer.

[edit] Notes

There's no way to access the time zone pointer when TimeZonePtr is a move-only type.