Return true if the specified lhs and rhs intervals are equal.
Declared in <bdlt_datetimeinterval.h>
bool
operator==(
DatetimeInterval const& lhs,
DatetimeInterval const& rhs);
Return true if the specified lhs and rhs time intervals have the same value, and false otherwise. Two time intervals have the same value if all of the corresponding values of their days, hours, minutes, seconds, milliseconds, and microseconds fields are the same.
true if lhs and rhs have the same value, and false otherwise
| Name | Description |
|---|---|
| lhs | left-hand time interval |
| rhs | right-hand time interval |