[#BloombergLP-bsls-operator_minus-005] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::operator‐ :relfileprefix: ../../ :mrdocs: Unary minus operators == Synopses Declared in `<bsls_timeinterval.h>` Return a `TimeInterval` value that is the negative of the specified `rhs` time interval. The behavior is undefined unless `LLONG_MIN != rhs.seconds()`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] xref:BloombergLP/bsls/operator_minus-003.adoc[operator‐](xref:BloombergLP/bsls/TimeInterval.adoc[TimeInterval] const& rhs); ---- [.small]#xref:BloombergLP/bsls/operator_minus-003.adoc[_» more..._]# Same as the preceding overload, converting `lhs` from `double`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] xref:BloombergLP/bsls/operator_minus-0a.adoc[operator‐]( double lhs, xref:BloombergLP/bsls/TimeInterval.adoc[TimeInterval] const& rhs); ---- [.small]#xref:BloombergLP/bsls/operator_minus-0a.adoc[_» more..._]# Same as the preceding overload, converting `rhs` from `double`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] xref:BloombergLP/bsls/operator_minus-0e.adoc[operator‐]( xref:BloombergLP/bsls/TimeInterval.adoc[TimeInterval] const& lhs, double rhs); ---- [.small]#xref:BloombergLP/bsls/operator_minus-0e.adoc[_» more..._]# 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] xref:BloombergLP/bsls/operator_minus-04.adoc[operator‐]( xref:BloombergLP/bsls/TimeInterval.adoc[TimeInterval] const& lhs, xref:BloombergLP/bsls/TimeInterval.adoc[TimeInterval] const& rhs); ---- [.small]#xref:BloombergLP/bsls/operator_minus-04.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#