获取最大时间
DateTime maxDate(DateTime? other) { return (other == null || isAfter(other)) ? this : other; }