Return true if the specified lhs interval is less than rhs.
Declared in <bdlt_datetimeinterval.h>
bool
operator<(
DatetimeInterval const& lhs,
DatetimeInterval const& rhs);
Return true if the nominal relation between the specified lhs and rhs time interval values holds, and false otherwise. lhs is less than rhs if the following expression evaluates to true: ` lhs.days() < rhs.days() || (lhs.days() == rhs.days() && lhs.fractionalDayInMicroseconds() < rhs.fractionalDayInMicroseconds()) ` The other relationships are defined similarly.
true if lhs is less than rhs, and false otherwise
| Name | Description |
|---|---|
| lhs | left-hand time interval |
| rhs | right-hand time interval |