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

Name

Description

lhs

datetime to compare

rhs

timetable transition to compare

Created with MrDocs