Added getTime() method to Clock