isSameDay method

bool isSameDay(
  1. DateTime other
)

是否和other是同一天

Implementation

bool isSameDay(DateTime other) => dateStr == other.dateStr;