BloombergLP::bdlt::operator<

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

Synopsis

Declared in <bdlt_timetable.h>

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

Description

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

Return Value

true if lhs is less than rhs

Parameters

NameDescription
lhsdatetime to compare
rhstimetable transition to compare