equalDate method

bool equalDate(
  1. DateTime other
)

Compara igualdade entre dois DateTime desconsiderando tempo

Implementation

bool equalDate(DateTime other) =>
    this.day == other.day &&
    this.month == other.month &&
    this.year == other.year;