BloombergLP::bdlt::Date::streamOut

Write this date to the specified stream in a single-line format.

Synopsis

Declared in <bdlt_date.h>

std::ostream&
streamOut(std::ostream& stream) const;

Description

Write the value of this object to the specified output stream in a single-line format, and return a reference to stream. If stream is not valid on entry, this operation has no effect. Note that this human-readable format is not fully specified, can change without notice, and is logically equivalent to: ` print(stream, 0, -1); `

DEPRECATED: Use print instead.

Return Value

reference to stream

Parameters

NameDescription
streamoutput stream