BloombergLP::baltzo::operator<

Return whether lhs is ordered before rhs by UTC time.

Synopsis

Declared in <baltzo_zoneinfo.h>

bool
operator<(
    ZoneinfoTransition const& lhs,
    ZoneinfoTransition const& rhs);

Description

Return true if the value of the specified lhs is less than (ordered before) the value of the specified rhs. Note that the value of lhs is less than the value of rhs if the value of the utcTime attribute of lhs is less than the value of the utcTime attribute of rhs.

Return Value

true if lhs.utcTime() is less than rhs.utcTime()

Parameters

NameDescription
lhsleft-hand transition
rhsright-hand transition