Stream out the textual manefestation of a hzXDate to s stream
| Return Type | Function name | Arguments |
|---|---|---|
| ostream& | operator<< | (ostream&,hzXDate&,) |
Declared and defined in file: hzDate.cpp
Function Logic:
Function body:
ostream& operator<< (ostream& os)hzXDate& d,
{
// Category: Data Output
//
// Stream out the textual manefestation of a hzXDate to s stream
//
// Arguments: 1) os Output stream
// 2) d Date/time to output
//
// Returns: Reference to the supplied output stream.
char buf[40];// Sprintf buffer
sprintf(buf, "%04d/%02d/%02d %02d:%02d:%02d.%06d",
(int64_t) d.Year(),
(char) d.Month(),
(char) d.Day(),
(char) d.Hour(),
(char) d.Min(),
(char) d.Sec(),
(int32_t) d.uSec()) ;
os << buf ;
return os ;
}