std::chrono::time_zone:: get_info
From cppreference.net
C++
Date and time library
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::chrono::time_zone
| Member functions | ||||
|
time_zone::get_info
|
||||
| Nonmember functions | ||||
|
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)
A
std::chrono::local_info
構造体は、このタイムゾーンにおけるローカル時間
tp
に関する情報を含みます。