[time.cal.wdlast.nonmembers]

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

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

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

#### 30.8.8.3 Non-member functions [time.cal.wdlast.nonmembers]

[ð](#lib:operator==,weekday_last)

`constexpr bool operator==(const weekday_last& x, const weekday_last& y) noexcept;
`

[1](#1)

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

*Returns*: x.weekday() == y.weekday()[.](#1.sentence-1)

[ð](#lib:operator%3c%3c,weekday_last)

`template<class charT, class traits>
  basic_ostream<charT, traits>&
    operator<<(basic_ostream<charT, traits>& os, const weekday_last& wdl);
`

[2](#2)

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

*Effects*: Equivalent to:return os << format(os.getloc(), *STATICALLY-WIDEN*<charT>("{:L}[last]"), wdl.weekday());
