Greater-than operators
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 the value of the specified lhs object is greater than the value of the specified rhs object, and false otherwise. A Datetime object a is greater than a Datetime object b if a.date() > b.date(), or if a.date() == b.date() and the time portion of a is greater than the time portion of b. The behavior is undefined unless 24 != lhs.hour() && 24 != rhs.hour().
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 the specified lhs time value is greater than 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).
bool
operator>(
Time const& lhs,
Time const& rhs);
» more...