String类compareTo比较日期
int java.lang.String.compareTo(String anotherString) Compares two strings lexicographically(字典序; 按字典顺序;).The comparison is based on the Unicode value of each character in the strings.The character...