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
인 경우, 월 값
m
을 보유하는
month
객체를 생성합니다. 그렇지 않으면 보유하는 값은 지정되지 않습니다.