date.cc File Reference

#include "date.h"

Functions

ostream & operator<< (ostream &out, const Date &date)
istream & operator>> (istream &in, Date &date)

Function Documentation

ostream& operator<< ( ostream &  out,
const Date date 
)

Inserts a Date object in the format "MM/DD/YYYY" into the output stream, and returns the modified output stream.

Parameters:
out the output stream for insertion
date the Date object for insertion
Returns:
the modified output stream

istream& operator>> ( istream &  in,
Date date 
)

Extracts a Date object in the format "MM/DD/YYYY" from the input stream, and returns the modified input stream.

Parameters:
in the input stream for extraction
date the Date object for storing the extracted information
Returns:
the modified input stream


Generated on Wed Jul 21 13:30:09 2010 by  doxygen 1.5.5