相同或之前
bool isSameOrBefore(Object d, [DayUnits unit = DayUnits.ms]) { return isSame(d, unit) || isBefore(d, unit); }