| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 的信息。
tp 有效的时区信息的 std::chrono::sys_info 结构体 i。tp 将在范围 [i.begin, i.end) 中。tp 在此时区中的信息的 std::chrono::local_info 结构体。