Simplify DateTime.compareTo method