[time.cal.wdlast.members]

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

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

### 30.8.8 Class weekday_last [[time.cal.wdlast]](time.cal.wdlast#members)

#### 30.8.8.2 Member functions [time.cal.wdlast.members]

[ð](#lib:weekday_last,constructor)

`constexpr explicit weekday_last(const chrono::weekday& wd) noexcept;
`

[1](#1)

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

*Effects*: Initializes wd_ with wd[.](#1.sentence-1)

[ð](#lib:weekday_last,weekday)

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

[2](#2)

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

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

[ð](#lib:ok,weekday_last)

`constexpr bool ok() const noexcept;
`

[3](#3)

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

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