Namespaces
Variants
Views
Actions

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

From cppreference.com
< cpp‎ | chrono‎ | zoned time
 
 
Utilities library
General utilities
Relational operators (deprecated in C++20)
Integer comparison functions
(C++20)(C++20)(C++20)
(C++20)
Swap and type operations
(C++14)
(C++11)
(C++11)
(C++11)
(C++17)
Common vocabulary types
(C++11)
(C++17)
(C++17)
(C++17)
(C++11)
(C++17)

Elementary string conversions
(C++17)
(C++17)
Stacktrace
 
Date and time utilities
(C++11)
(C++11)
Time of day
(C++20)



(C++20)(C++20)(C++20)(C++20)
Clocks
(C++20)
                                             
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
Calendars
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
Time zones
(C++20)
(C++20)
(C++20)
(C++20)
C-style date and time
 
 
std::chrono::sys_info get_info() const;
(since C++20)

Obtains the std::chrono::sys_info containing information about the time zone at the time point stored in *this.

[edit] Return value

zone->get_info(tp), where zone is the non-static data member holding the time zone pointer, and tp is the non-static data member holding the stored time point (as a std::chrono::sys_time<duration>).