LeapYear Class Reference

#include <LeapYear.h>

Inheritance diagram for LeapYear:

Year List of all members.

Detailed Description

LeapYear is a subclass of Year Overrides methods that handle leap year differently Prepared by Dr. Spiegel


Public Member Functions

 LeapYear (int monthVal, int dayVal, int yearVal)
virtual int daysElapsed ()


Constructor & Destructor Documentation

LeapYear::LeapYear ( int  monthVal,
int  dayVal,
int  yearVal 
)

Construct date in 366 day year


Member Function Documentation

int LeapYear::daysElapsed (  )  [virtual]

Count days in years with 29 days in February

Returns:
Days elapsed in a leap year

Reimplemented from Year.


The documentation for this class was generated from the following files:
Generated on Wed Mar 17 16:50:14 2010 for Days Elapsed In Year Doxygen Example by  doxygen 1.4.7