isAtSameDayAs method

bool isAtSameDayAs(
  1. DateTime other
)

是否时同一天

Implementation

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