absl::operator-

Returns the duration between two times.

Synopsis

Declared in <absl/time/time.h>

Duration
operator-(
    Time lhs,
    Time rhs);

Return Value

The duration lhs - rhs.

Parameters

NameDescription
lhsThe left-hand time.
rhsThe right-hand time.