名前空間
変種
操作

std::chrono::system_clock::from_time_t

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

 
 
ユーティリティライブラリ
支援を入力します (basic types, RTTI, type traits)
動的なメモリ管理
エラー処理
プログラムユーティリティ
可変個引数関数
日付と時刻
関数オブジェクト
initializer_list(C++11)
bitset
hash(C++11)
関係演算子
Original:
Relational operators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
rel_ops::operator!=
rel_ops::operator>
rel_ops::operator<=
rel_ops::operator>=
ペアとタプル
Original:
Pairs and tuples
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
pair
tuple(C++11)
piecewise_construct_t(C++11)
piecewise_construct(C++11)
フォワード、スワップ、および移動
Original:
Swap, forward and move
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
swap
forward(C++11)
move(C++11)
move_if_noexcept(C++11)
declval(C++11)
 
 
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]