/*
int months = 0;
int startMonthOfYear = start.getMonthValue();
int endMonthOfYear = end.getMonthValue();
if (start.getYear() == end.getYear()) {
//例如当年11-当年1
months = endMonthOfYear - startMonthOfYear;
} else if (startMonthOfYear < endMonthOfYear) {
//例如次年11-当年1
months = endMonthOfYear - startMonthOfYear + (end.getYear() - start.getYear()) * 12;
} else {
//例如次年8-当年10
months = endMonthOfYear + (12 - startMonthOfYear) + (end.getYear() - start.getYear() - 1) * 12;
}
*/