isAtSameMinuteAs method

bool isAtSameMinuteAs(
  1. DateTime other
)

Checks if this DateTime is in the same minute, hour, day, month, and year as other.

Implementation

bool isAtSameMinuteAs(DateTime other) =>
    isAtSameHourAs(other) && minute == other.minute;