datetime.cc File Reference

#include "datetime.h"

Functions

ostream & operator<< (ostream &out, const DateTime &dt)
istream & operator>> (istream &in, DateTime &dt)

Function Documentation

ostream& operator<< ( ostream &  out,
const DateTime dt 
)

Inserts a DateTime object in the format "MM/DD/YY HH:MM [AM|PM]" into the output stream, and returns the modified output stream.

Parameters:
out the output stream for insertion
dt the DateTime object for insertion
Returns:
the modified output stream

istream& operator>> ( istream &  in,
DateTime dt 
)

Extracts a DateTime object in the format "MM/DD/YY HH:MM [AM|PM]" from the input stream, and returns the modified input stream.

Parameters:
in the input stream for extraction
dt the DateTime object for storing the extracted information
Returns:
the modified input stream


Generated on Wed Jan 20 09:39:02 2010 by  doxygen 1.5.5