BloombergLP::bdlt::operator<=

Return true if lhs is earlier than or equal to rhs.

Synopsis

Declared in <bdlt_time.h>

bool
operator<=(
    Time const& lhs,
    Time const& rhs);

Description

Return true if the specified lhs time value is less than or equal to the specified rhs time value, and false otherwise. The behavior is undefined unless lhs != Time() and rhs != Time() (i.e., they do not have the, default, value 24:00:00.000000).

Return Value

true if lhs is earlier than or equal to rhs, and false otherwise

Parameters

NameDescription
lhsleft-hand time operand
rhsright-hand time operand