Added compareTo() functions in Date and Time