isSameDateAs method

bool isSameDateAs(
  1. DateTime other
)

Implementation

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