std::chrono::month:: month
From cppreference.net
C++
Date and time library
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::chrono::month
| Member functions | ||||
|
month::month
|
||||
| Nonmember functions | ||||
| Helper classes | ||||
|
(C++26)
|
|
month
(
)
=
default
;
|
(1) | (C++20以降) |
|
constexpr
explicit
month
(
unsigned
m
)
noexcept
;
|
(2) | (C++20以降) |
month
オブジェクトを構築します。
1)
デフォルトコンストラクタは月の値を初期化せずに残します。
2)
m
<=
255
の場合、
month
オブジェクトを月の値
m
で構築する。それ以外の場合、保持される値は未規定である。