Encode the specified value into JSON using ISO 8601 format and output the result to the specified stream using the specified options.
Declared in <baljsn_printutil.h>
template<class TYPE>
static
int
printDateAndTime(
std::ostream& stream,
TYPE const& value,
EncoderOptions const* options);
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| stream | output stream for JSON |
| value | date/time value to encode |
| options | encoding options; null uses defaults |