bool isSameDay(DateTime? other) => other != null && year == other.year && month == other.month && day == other.day;