BloombergLP::bdlt::DatetimeInterval::addMicroseconds

Add the specified number of microseconds to this time interval.

Synopsis

Declared in <bdlt_datetimeinterval.h>

DatetimeInterval&
addMicroseconds(bsls::Types::Int64 microseconds);

Description

Add to this time interval the specified number of microseconds, and return a reference providing modifiable access to this object. The behavior is undefined unless the resulting time interval value is valid (i.e., the days field must not overflow a 32-bit integer).

Return Value

a reference providing modifiable access to this object

Parameters

NameDescription
microsecondsmicroseconds to add