bool isSameDate(DateTime? other) { return year == other?.year && month == other?.month && day == other?.day; }