获取最小时间
DateTime minDate(DateTime? other) { return (other == null || isBefore(other)) ? this : other; }