The problem is that GregorianCalendar does not implement Comparable<GregorianCalendar>, but instead the (better) interface Comparable<Calendar>.
问题在于 GregorianCalendar 并不实现 Comparable<GregorianCalendar> 接口，而是实现了（更好的）Comparable<Calendar>。