date.cc File Reference

#include "date.h"
#include <iostream>
#include <string>

Functions

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

Function Documentation

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

Returns true if this date is after the specified date; returns false otherwise.

Parameters:
date the specified date
Returns:
a bool indicating whether this date is after the parameter 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 Thu Jan 20 18:07:03 2011 by  doxygen 1.6.3