Less‐than operators
Synopses
Declared in <bdlt_date.h>
Return true if the specified lhs date is earlier than the specified rhs date, and false otherwise.
Return true if lhs is less than rhs.
Return true if the specified lhs interval is less than rhs.
bool
operator<(
DatetimeInterval const& lhs,
DatetimeInterval const& rhs);
Return true if lhs is earlier than rhs.
Return true if lhs daily timetable is less than rhs.
bool
operator<(
Timetable_Day const& lhs,
Timetable_Day const& rhs);
Return true if timetable transition lhs is less than rhs.
bool
operator<(
TimetableTransition const& lhs,
TimetableTransition const& rhs);
Return true if timetable transition lhs is less than datetime rhs.
bool
operator<(
TimetableTransition const& lhs,
Datetime const& rhs);
Return true if datetime lhs is less than timetable transition rhs.
bool
operator<(
Datetime const& lhs,
TimetableTransition const& rhs);
Return true if compactable transition lhs is less than rhs.
bool
operator<(
Timetable_CompactableTransition const& lhs,
Timetable_CompactableTransition const& rhs);
Return true if compactable transition lhs is less than time rhs.
bool
operator<(
Timetable_CompactableTransition const& lhs,
Time const& rhs);
Return true if time lhs is less than compactable transition rhs.
bool
operator<(
Time const& lhs,
Timetable_CompactableTransition const& rhs);
Return Value
-
trueiflhsis earlier thanrhs -
trueiflhsis less thanrhs -
trueiflhsis less thanrhs, andfalseotherwise -
trueiflhsis earlier thanrhs, andfalseotherwise
Parameters
Name |
Description |
lhs |
left‐hand date operand |
rhs |
right‐hand date operand |
Created with MrDocs