[time.zone.nonmembers]

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

## 30.11 Time zones [[time.zone]](time.zone#nonmembers)

### 30.11.5 Class time_zone [[time.zone.timezone]](time.zone.timezone#time.zone.nonmembers)

#### 30.11.5.3 Non-member functions [time.zone.nonmembers]

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

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

[1](#1)

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

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

[ð](#lib:operator%3c=%3e,time_zone)

`strong_ordering operator<=>(const time_zone& x, const time_zone& y) noexcept;
`

[2](#2)

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

*Returns*: x.name() <=> y.name()[.](#2.sentence-1)
