#include <iostream>
using namespace std;
class time
{
public:
static void year(int Y);
void showtime();
void settime(int H,int M,int S);
private:
static int year;
int hour;
int minute;
int second;
};
void time::year(int Y)
{
year=Y;
cout<<"某年:"<<Y<<endl;
}
void time::settime(int H,int M,int S)
{
hour=H;
munite=M;
second=S;
}
void time::showtime()
{
cout<<"show the time"<<endl;
}
int mian ()
{
time t;
t.year(1);
t.showtime();
t.settime(0,0,0);
t.showtime();
t.settime(22,34,58);
return 0;
}