added comparisn fns to Time class