BloombergLP::bdlt::operator<

Return true if timetable transition lhs is less than datetime rhs.

Synopsis

Declared in <bdlt_timetable.h>

bool
operator<(
    TimetableTransition const& lhs,
    Datetime const& rhs);

Description

Return true if the specified lhs has a value less than the specified rhs, and false otherwise. Timetable transition lhs has a value less than datetime rhs if lhs.datetime() < rhs. The behavior is undefined unless 24 > rhs.hour().

Return Value

true if lhs is less than rhs

Parameters

NameDescription
lhstimetable transition to compare
rhsdatetime to compare