BloombergLP::bdlt::operator<

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.

Synopsis

Declared in <bdlt_datetimeinterval.h>

bool
operator<(
    DatetimeInterval const& lhs,
    DatetimeInterval const& rhs);