Write the specified timeInterval to the specified output stream.

Synopsis

Declared in <bsls_timeinterval.h>

std::ostream&
operator<<(
    std::ostream& stream,
    TimeInterval const& timeInterval);

Description

Write the value of the specified timeInterval to the specified output stream in a single‐line format, and return a reference providing modifiable access to stream. If stream is not valid on entry, this operation has no effect. Note that this human‐readable format is not fully specified and can change without notice. Also note that this method has the same behavior as object.print(stream, 0, ‐1).

Return Value

a reference providing modifiable access to stream

Parameters

Name

Description

stream

output stream

timeInterval

time interval to write

Created with MrDocs