the methods 'getid' and 'getTimeString' are added
the method 'displayTime' is added