bool isBeforeOrSameDay(DateTime date) { return year < date.year || year == date.year && (month < date.month || month == date.month && day <= date.day); }