isAtSameDayAs method

bool isAtSameDayAs(
  1. DateTime other
)

Implementation

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