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