Return a DatetimeInterval object initialized with the difference between the specified lhs and rhs time values.

Synopsis

Declared in <bdlt_time.h>

bdlt::DatetimeInterval
operator‐(
    Time const& lhs,
    Time const& rhs);

Return Value

a DatetimeInterval initialized with the difference of lhs and rhs

Parameters

Name

Description

lhs

left‐hand time operand

rhs

right‐hand time operand

Created with MrDocs