std::chrono::year_month_weekday_last:: year_month_weekday_last
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
|
year_month_weekday_last::year_month_weekday_last
|
||||
| Nonmember functions | ||||
| Helper classes | ||||
|
constexpr
year_month_weekday_last
(
const
std::
chrono
::
year
&
y,
const
std::
chrono
::
month
&
m,
|
(C++20부터) | |
year_month_weekday_last
객체를 생성하며, 연도
y
, 월
m
, 그리고 요일
wdl.
weekday
(
)
를 저장합니다. 생성된 객체는 해당 연도와 월의 마지막 요일을 나타냅니다.
참고 사항
year_month_weekday_last
는 부분 날짜 타입인
std::chrono::year_month
와
std::chrono::month_weekday_last
중 하나를 누락된 구성 요소(
weekday_last
와
year
, 각각)와
operator
/
를 사용하여 조합함으로써 생성할 수도 있습니다.
참고 항목
|
(C++20)
|
그레고리력 날짜 생성을 위한 관용적 구문
(함수) |