[#BloombergLP-bsls-operator_minus-04] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::operator‐ :relfileprefix: ../../ :mrdocs: Return the difference between the specified `lhs` and `rhs` intervals. == Synopsis Declared in `<bsls_timeinterval.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] operator‐( xref:BloombergLP/bsls/TimeInterval.adoc[TimeInterval] const& lhs, xref:BloombergLP/bsls/TimeInterval.adoc[TimeInterval] const& rhs); ---- == Description Return a `TimeInterval` value that is the difference between the specified `lhs` and `rhs` time intervals. The behavior is undefined unless (1) operands of type `double` can be converted to valid `TimeInterval` objects, (2) the value on the right‐hand side (potentially after conversion to a `TimeInterval`) has a number of seconds that is not `LLONG_MIN`, and (3) the resulting time interval can be represented with a 64‐bit signed integer. == Return Value difference of `lhs` and `rhs` as a `TimeInterval` == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | left‐hand time interval | *rhs* | right‐hand time interval |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#