Greater‐than operators
Synopses
Declared in <bdlt_date.h>
Return true if the specified lhs date is later than the specified rhs date, and false otherwise.
Return true if lhs is greater than rhs.
Return true if the specified lhs interval is greater than the specified rhs interval, and false otherwise.
bool
operator>(
DatetimeInterval const& lhs,
DatetimeInterval const& rhs);
Return true if lhs is later than rhs.
Return Value
-
trueiflhsis later thanrhs -
trueiflhsis greater thanrhs -
trueiflhsis greater thanrhs, andfalseotherwise -
trueiflhsis later thanrhs, andfalseotherwise
Parameters
Name |
Description |
lhs |
left‐hand date operand |
rhs |
right‐hand date operand |
Created with MrDocs