Stream out the textual manefestation of a short date to s stream
| Return Type | Function name | Arguments |
|---|---|---|
| ostream& | operator<< | (ostream&,hzSDate&,) |
Declared and defined in file: hzDate.cpp
Function Logic:
Function body:
ostream& operator<< (ostream& os)hzSDate& d,
{
// Category: Data Output
//
// Stream out the textual manefestation of a short date to s stream
//
// Arguments: 1) os Output stream
// 2) d Short form date to output
//
// Returns: Reference to the supplied output stream
char buf[12];// Date formation buffer
sprintf(buf, "%04d/%02d/%02d", d.Year(), d.Month(), d.Day()) ;
os << buf ;
return os ;
}