BloombergLP::bdlt::operator>

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.

bool
operator>(
    Date const& lhs,
    Date const& rhs);
» more...

Return true if lhs is greater than rhs.

bool
operator>(
    Datetime const& lhs,
    Datetime const& rhs);
» more...

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);
» more...

Return true if lhs is later than rhs.

bool
operator>(
    Time const& lhs,
    Time const& rhs);
» more...

Return Value

  • true if lhs is later than rhs
  • true if lhs is greater than rhs
  • true if lhs is greater than rhs, and false otherwise
  • true if lhs is later than rhs, and false otherwise

Parameters

NameDescription
lhsleft-hand date operand
rhsright-hand date operand