// main.cc  An example of USING the time class

#include <iostream>
using namespace std;

#include "timeOfDay.h"

int main(void)
{

  // each of these invokes the constructor

  TimeOfDay_C dinnerTime(18,30); // dinner is at 6:30pm

  TimeOfDay_C breakfast(8,15); // breakfast is at 8:15am

  TimeOfDay_C officeHrsStart(15, 45); // breakfast is at 8:15am

  cout << "If I call getHours on officeHrsStart, I get: "
       << officeHrsStart.getHours() << endl;

  return 0;

}
