class time{