equalDate method

bool equalDate(
  1. DateTime other
)

Compara igualdade entre dois DateTime desconsiderando tempo

Implementation

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