Namespaces
Variants

std::chrono::year_month_weekday_last:: year_month_weekday_last

From cppreference.net
constexpr

year_month_weekday_last ( const std:: chrono :: year & y, const std:: chrono :: month & m,

const std:: chrono :: weekday_last & wdl ) noexcept ;
(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)
グレゴリオ暦の日付作成における従来の構文
(関数)