isSameDate static method

bool isSameDate(
  1. DateTime a,
  2. DateTime b
)

Implementation

static bool isSameDate(DateTime a, DateTime b) {
  return a.year == b.year && a.month == b.month && a.day == b.day;
}