[time.cal.mwd.members]

# 30 Time library [[time]](./#time)

## 30.8 The civil calendar [[time.cal]](time.cal#mwd.members)

### 30.8.11 Class month_weekday [[time.cal.mwd]](time.cal.mwd#members)

#### 30.8.11.2 Member functions [time.cal.mwd.members]

[ð](#lib:month_weekday,constructor)

`constexpr month_weekday(const chrono::month& m, const chrono::weekday_indexed& wdi) noexcept;
`

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/time.tex#L5800)

*Effects*: Initializes m_ with m, and wdi_ with wdi[.](#1.sentence-1)

[ð](#lib:month,month_weekday)

`constexpr chrono::month month() const noexcept;
`

[2](#2)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/time.tex#L5811)

*Returns*: m_[.](#2.sentence-1)

[ð](#lib:weekday_indexed,month_weekday)

`constexpr chrono::weekday_indexed weekday_indexed() const noexcept;
`

[3](#3)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/time.tex#L5822)

*Returns*: wdi_[.](#3.sentence-1)

[ð](#lib:ok,month_weekday)

`constexpr bool ok() const noexcept;
`

[4](#4)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/time.tex#L5833)

*Returns*: m_.ok() && wdi_.ok()[.](#4.sentence-1)
