[time.cal.mwdlast.nonmembers]

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

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

### 30.8.12 Class month_weekday_last [[time.cal.mwdlast]](time.cal.mwdlast#nonmembers)

#### 30.8.12.3 Non-member functions [time.cal.mwdlast.nonmembers]

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

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

[1](#1)

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

*Returns*: x.month() == y.month() && x.weekday_last() == y.weekday_last()[.](#1.sentence-1)

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

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

[2](#2)

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

*Effects*: Equivalent to:return os << format(os.getloc(), *STATICALLY-WIDEN*<charT>("{:L}/{:L}"),
 mwdl.month(), mwdl.weekday_last());
