isSameDate method

bool isSameDate(
  1. DateTime other
)

日付が同じかどうか

Implementation

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