Write the specified rhs to the specified output stream.
Declared in <bdlt_datetimetz.h>
std::ostream&
operator<<(
std::ostream& stream,
DatetimeTz const& rhs);
Write the value of the specified rhs object 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), but with the attribute names elided.
a reference to stream
| Name | Description |
|---|---|
| stream | output stream |
| rhs | object to write |