// @topic W07-0-040 C/C++ struct and class
// @brief class Date declaration

#ifndef DATE_H_INCLUDED_
#define DATE_H_INCLUDED_

// Class declares a user-defined data type
class Date {
public:
    // constructor function
    // initializes the the object with
    // some meaningful values
    Date( int month, int day, int year );

    // accessor functions
    void set_month( int month );
    int get_month();

    //encapsulation
private:
// NOTE: private Date components can be
// modified only by friend functions:
    int mm;
    int dd;
    int yyyy;
};//class Date

#endif //DATE_H_INCLUDED_