名前空間
変種
操作

std::chrono::system_clock::from_time_t

提供: cppreference.com
< cpp‎ | chrono‎ | system clock

 
 
 
 
std::chrono::system_clock
メンバ関数
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
system_clock::now
system_clock::to_time_t
system_clock::from_time_t
 
static std::chrono::time_point from_time_t( std::time_t t );
(C++11およびそれ以降)
2種類の粗い精度を使用して、時刻型にtを変換.
Original:
Converts t to a time point type, using the coarser precision of the two types.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
time_pointは低い精度を持っている場合、それは値が丸めまたは切り捨てされているかどうかを定義する実装です.
Original:
If time_point has lower precision, it is implementation defined whether the value is rounded or truncated.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

目次

[編集] パラメータ

t -
変換するstd::time_t
Original:
std::time_t value to convert
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] 値を返します

std::chrono::time_pointを表す型tの値.
Original:
A value of type std::chrono::time_point representing t.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] 例外

noexcept specification:  
noexcept
  (C++11およびそれ以降)

[編集] も参照してください

[静的]
std::time_tにシステムクロックの時刻を変換します
Original:
converts a system clock time point to std::time_t
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリック静的メンバ関数) [edit]