Namespaces
Variants

std::chrono::time_zone:: get_info

From cppreference.net
template < class Duration >
std:: chrono :: sys_info get_info ( const std:: chrono :: sys_time < Duration > & tp ) const ;
(C++20 이후)
template < class Duration >
std:: chrono :: local_info get_info ( const std:: chrono :: local_time < Duration > & tp ) const ;
(C++20 이후)

시간점 tp 에서의 이 시간대에 대한 정보를 획득합니다.

반환값

1) 이 시간대에서 시간점 tp 에 유효한 시간대 정보를 포함하는 std::chrono::sys_info 구조체 i . tp [ i. begin , i. end ) 범위 내에 있을 것입니다.
2) 주어진 시간대에서 std::chrono::local_info 구조체는 tp 에 대한 지역 시간 정보를 포함합니다.