isDateEqualByInt method

bool isDateEqualByInt(
  1. int year,
  2. int month,
  3. int day
)

Implementation

bool isDateEqualByInt(int year, int month, int day) {
  return this.year == year && this.month == month && this.day == day;
}