Namespaces
Variants

std::chrono::month_weekday:: month_weekday

From cppreference.net
constexpr month_weekday ( const std:: chrono :: month & m,
const std:: chrono :: weekday_indexed & wdi ) noexcept ;
(C++20以降)

month_weekday オブジェクトを構築し、 month m および weekday_indexed wdi を格納します。

注記

month_weekday を構築するより便利な方法は、 operator / を使用することです。例えば、 std:: chrono :: April / std:: chrono :: Sunday [ 2 ] のように記述します。

関連項目

(C++20)
グレゴリオ暦の日付作成における従来の構文
(関数)